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

Can't disable debugging of subprocesses with remote debugging

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 4.2.0-rc1
    • Qt Creator 4.1.0
    • Remote Linux
    • None
    • Arch Linux 64-bit
      GDB 7.11.1
      Qt 5.7.0
    • ac2ceb36d76186aeb13022ef6ebc785bb454e2cf

    Description

      Setting QTC_DEBUGGER_MULTIPROCESS=1 and launching Qt Creator shows "Enable Debugging of Subprocesses" under Debugger Settings of the Run configuration.

      If starting a debug session for a remote Generic Linux device, this checkbox always seems to get re-checked again. As a result, the GDB detach-on-fork option is always set to off.

      This has the effect that starting a process using QProcess can hang or timeout.

      For example this can hang:
      QProcess::execute("/bin/echo", QStringList() << "hello world")

      Attachments

        Issue Links

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

          Activity

            People

              hjk hjk
              net147 Jonathan Liu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes