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

Debugging terminates when setting a breakpoint anywhere

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Moved
    • Icon: P1: Critical P1: Critical
    • None
    • Qt Creator 4.5.1
    • Debugger
    • None
    • 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

       

      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.

        1. QtCreator4.5.1_bug.mp4
          903 kB
          Raffaele Orsato
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes