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

Debugged program stops when adding breakpoint

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 3.0.0-rc1
    • Debugger
    • Windows 7 64 bit
      MinGW gcc 4.4, 4.8
      gdb 7.2, 7.5.1

      1. Create a new Qt GUI Application project.
      2. In main.cpp, replace the last line:
            return a.exec();
        

        by:

            int r = a.exec();
            return r;
        
      3. Run the project in gdb debugger.
      4. While the project is running, set a breakpoint in the line containing the return statement.
        Execution of the the project will stop.

      The execution of a debugged program should not stop until a breakpoint is actually being hit.

        1. left.log
          1 kB
        2. right.log
          40 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            hjk hjk
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes