Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.8.2
-
None
-
Ubuntu 18.04, Qt Creator 4.8.2 (rev 80a92d55d3) compiled from source
-
-
18f1a8d759073e4d8cddfaa99a77c72f21efa5c3
Description
To reproduce:
- Make a new project, with code containing an infinite loop
- Set breakpoint at main, start debugger
- Make sure the process can be seen via something like ps -A|grep test
- Choose menu Debug → Detach Debugger
- Check once again for the process as in step 3, see it's gone
If you instead issued detach command in the Debugger Log, this would work as expected: the debugger (GDB) is no longer attached to the process, debugging session has ended, and the process lives on.
Qt Creator's Detach Debugger menu also shouldn't kill the inferior.