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

Adding lines breaks handling of breakpoints

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 2.1.0-rc1
    • Debugger, Editors
    • Windows Vista x64

    Description

      1. Open a project
      2. Add a breakpoint
      3. Debug the project, wait until execution stops at the breakpoint
      4. Insert some code lines (no comments) above the line with the breakpoint. How about some qDebug() there?
        The breakpoint will move down together with the lines. Neat!
      5. Save the file.
      6. Stop debugger
      7. Run debugger
        Execution will stop at the same line where the breakpoint was before the new lines were added. Try to remove the breakpoint by clicking the red ball. A second red ball will show up in the same line. The breakpoint can be removed using the Breakpoints view or by clicking the left border of the line where the execution stopped.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: