Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 15.0.0-rc1
-
None
-
-
b1bf4594b (15.0)
Description
I have a strange problem with QtCreator 15.0.0-rc1, that I do not have in QtCreator 14 and below.
I create a simple "Hello World!" test project (e.g. from QtCreator new project wizard) and a run configuration for a remote linux project.
- when I click on Run: I see the output in the Application output area
- but when I set a breakpoint and click on Debug: then no output is shown
Output from Run and Debug in QtCreator 14.0.2:
20:15:21: Starting /tmp/qtc_Test/usr/local/bin/testQtc15 on localhost... 20:15:21: Environment: Hello World! 20:15:21: /tmp/qtc_Test/usr/local/bin/testQtc15 on localhost exited with code 0 20:15:22: Checking available ports... 20:15:22: Found 101 free ports. 20:15:23: Starting /usr/bin/gdbserver --multi :10000 on localhost... 20:15:23: Environment: Listening on port 10000 20:15:23: Debugging ssh://lf@localhost/tmp/qtc_Test/usr/local/bin/testQtc15 ... Remote debugging from host ::1, port 42216 Process /tmp/qtc_Test/usr/local/bin/testQtc15 created; pid = 45767 Hello World! Child exited with status 0 20:15:37: /usr/bin/gdbserver on localhost exited with code 0 20:15:37: Debugging of ssh://lf@localhost/tmp/qtc_Test/usr/local/bin/testQtc15 has finished with exit code 0.
And here is the same for QtCreator 15.0.0-rc1:
20:16:44: Starting /tmp/qtc_Test/usr/local/bin/testQtc15 on localhost... 20:16:44: Environment: Hello World! 20:16:44: /tmp/qtc_Test/usr/local/bin/testQtc15 on localhost exited with code 0 20:16:46: Checking available ports... 20:16:46: Found 101 free ports. 20:16:47: Debugging ssh://lf@localhost/tmp/qtc_Test/usr/local/bin/testQtc15 ... 20:16:51: Debugging of ssh://lf@localhost/tmp/qtc_Test/usr/local/bin/testQtc15 has finished with exit code 0.
Notice the missing "Hello World!". Actually the whole equivalent lines from "Remote debugging from host ::1, port 42216" until "/usr/bin/gdbserver on localhost exited with code 0" are missing in QtCreator 15.0.0-rc1.
I see this behavior with a real world program deploying to a real remote device and a simple hello world program using ssh to localhost.
I do not see this behavior with a normal project (that means Desktop and not "remote").
Attachments
Issue Links
- relates to
-
QTCREATORBUG-32072 [Reg 14->15] Debugging on Remote Linux does not work "Run in Terminal" anymore
- Closed