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

Debugging in gdb is broken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.8.0-beta1
    • Fix Version/s: Qt Creator 4.8.0-beta2
    • Component/s: Debugger
    • Labels:
      None
    • Environment:
      Kubuntu 18.10, gdb 8.2.
    • Platform/s:
      Linux/X11
    • Commits:
      e24335e8a6ecb371c081352f6bf3926c45725acb 183cfb0772a9738fbd0ae2483e47d444674ad5c4

      Description

      When I try debugging a running process (i.e. Debug -> Start Debugging -> Attach to Running Application...), QtCreator is unable to associate breakpoints in the source code with the executable. Basically, this renders breakpoints unusable.

      In the Breakpoints view at the bottom, the panel lists my breakpoints and, while the process is suspended, the "Number" column for each breakpoint is continuously incremented over time. If I hover over the breakpoint icon in the source code editor, the tooltip that appears shows a snapshot of the ever-increasing number as the Internal ID of the breakpoint (i.e. every time you invoke the tooltip the ID is updated with a new value).

      Also if I press F5 in the debug mode while the debugged process is suspended, QtCreator tries to compile and run the project instead of continuing execution of the suspended process. The F5 key (with no modifiers) is bound to "Start Debugging or Continue" and nothing else in the settings. Apparently, "Continue" doesn't work.

      These problems were not present in QtCreator 4.7.1.

        Attachments

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

          Activity

            People

            • Assignee:
              hjk hjk
              Reporter:
              lastique Andrey Semashev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes