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

Attaching to a running process results in a hanging debugger

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.15.0-rc1
    • Debugger
    • None
    • Kubuntu 20.10 x86-64, gdb 9.2
    • Linux/X11

    Description

      1. Have an external process running.
      2. In QtCreator, select Debug -> Start Debugging -> Attach to Running Application... and select the running process.
      3. QtCreator changes UI layout to debugger and hangs for a while. After a while, it displays a warning that gdb is not responding (see the attached screenshot). If you choose to wait longer, it will keep hanging and then show the same warning again.

      I can attach to the same process on the same machine from gdb running in the console. The debugger attaches immediately, no waiting required.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes