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

Breakpoints are sometimes invisible and hence can not be disabled.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 3.4.0-beta1
    • Qt Creator 2.1.0
    • Debugger
    • None
    • Tested on
      Mac OS 10.5.8
      Qt Creator 2.1.0 Build 2011/2/14 from revision 8ef69434b8.
      Qt library version 4.7.2

      If a linked library contains the file with the same name (different path), one can not disable the breakpoint, for it does not appear in the list.

      The attached sample application shows the point.
      1. Compile both applications (MainSetBreakpoint is the main console application, SetBreakpoint is a library, used by MainSetBreakpoint)
      2. Assure the library can be found in the path.
      3. Set a first breakpoint in main.cpp line 10.
      4. Set a breakpoint in CCommonFile.cpp (of MainSetBreakpoint) line 6.
      5. Set a breakpoint in main.cpp line 13.
      6. Starts MainSetBreakpoint in Qt Creator.
      Note the breakpoint-numbering has a gap between the second and the third breakpoint and a breakpoint will be hit in the library (although neither one is being set nor visible)
      executing the instruction info breakpoints in the debugger Log widget will show the additional breakpoint.

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

            hjk hjk
            qtmyro Geert Mys (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes