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

Trying to toggle a breakpoint but upon run it moves to the next line

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • Qt Creator 7.0.2
    • Debugger
    • None
    • Ubuntu

    Description

      In my code i add the breakpoint to line 3108 but when i run the code the breakpoint is automatically removed and set to the next code line which is 3110.

       

      Here is the log of the debug:

      {{}}

      TAKING OWNERSHIP OF BREAKPOINT 49 dRUNNING NEEDS-STOP COMMAND -break-insert -f "\"binactions.cpp\":3108" <472-break-insert -f "\"binactions.cpp\":3108" >472^done,bkpt={number="23",type="breakpoint",disp="keep",enabled="y",addr="0x000055555564b8b9",func="BinActions::GetValue(DbAction&, Gen&)",file="../code/util/actions/binactions.cpp",fullname="/media/sf_a/sw/src/apps/tools/myapp/src/code/util/actions/binactions.cpp",line="3110",thread-groups=["i1"],times="0",original-location="binactions.cpp:3108"}

      {{}}

       

      I'm using QT 7.0.2.

       

      Tried to rebuild didnt resolve it.

      Tried to reboot QT didnt resolve it.

      I'm building in Debug mode.

      Attachments

        1. captassm.PNG
          captassm.PNG
          37 kB
        2. image-2023-01-03-11-11-24-992.png
          image-2023-01-03-11-11-24-992.png
          123 kB
        3. image-2023-01-03-11-11-57-817.png
          image-2023-01-03-11-11-57-817.png
          123 kB
        4. qtcapt.PNG
          qtcapt.PNG
          30 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            kj92 Karam Jaber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes