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

Debugging terminates when setting a breakpoint anywhere

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Moved
    • Affects Version/s: Qt Creator 4.5.1
    • Fix Version/s: None
    • Component/s: Debugger
    • Labels:
      None
    • Environment:
      Windows 7 Professional 64bit Service Pack 1, Intel Core i5-6500 3.20GHz, 8GB memory

      Qt 5.10.1 MSVC2015 64bit

      Microsoft Visual C++ Compiler 14.0 (amd64)

      x64 CDB debugger

       

      Description

      When debugging is started, it is sufficient to put a breakpoint anywhere and the running application instantaneously closes. That breakpoint can be set in any document open in Creator, even in code that is totally independent from the running application. Application Output panel in QtCreator simply states "Debugging has finished". This happens only with breakpoints (and message tracepoints) added on-the-run, setting them before starting debugger does not result in problems.

      This also happens when using older Qt versions (I tested only 5.9.2). On the contrary using Qt 5.10.1 through QtCreator 4.5.0 works fine. These things combined point out that the problem is with Creator 4.5.1.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              davschul David Schulz
              Reporter:
              orraf Raffaele Orsato
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes