Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-19626

Attaching debugger prevents returning from function

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.5.0
    • Debugger
    • None
    • Windows 7, Intel x64, 8 GBs Memory

      C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x64\cdb.exe

    Description

      I have written a code to parse a csv file into a list. When we run program with debugger attached the callee never returns to caller. Seems it gets stock in an infinite loop somewhere which can be destructors of locals. I guessed maybe the function is corrupting memory somehow which leads to different behavior with debugger present. Even in this case debugger should warn about the corruption.

      When I run the same debug version with no debugger, program executes with no problem.

      csvhandler.cpp

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            siavoshkc Siavosh Kasravi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes