Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.1.0
-
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
- relates to
-
QTCREATORBUG-17264 Remote debugging using QTCreator hangs, command line GDB runs fine
- Closed