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

GDB hangs, waiting to attach to program's process, and showing "Setting breakpoints . . ."

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 3.4.0
    • Debugger
    • None

      "The gdb process has not responded to a command within 40 second(s). This could mean it is stuck in an endless loop or taking longer than expected to perform the operation.
      You can choose between waiting longer or aborting debugging."

      In log:
      "TIMED OUT WAITING FOR GDB REPLY. COMMANDS STILL IN PROGRESS: "attach 10980""

      The bar in the debugger pane reads "Setting breakpoints . . ." (I have no breakpoints, yet.)

      It doesn't appear to be using much CPU.

      I'm not able to "gdb attach" to my running executable's pid, started by QtCreator (ptrace: Device busy.). But I can start my program outside of QtCreator, and attach to it's pid that way.

        1. qtcreator_gdb_log.txt
          16 kB
          Brian Klahn
        2. qtcreator_gdb_log2.txt
          16 kB
          Brian Klahn
        3. qtcreator_lldb_log.txt
          13 kB
          Brian Klahn
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            hjk hjk
            qtk Brian Klahn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes