Description
This surfaces when running the tests/manual/debugger/simple test. It tries to print text to stderr, stdout, std::cerr, std::cout from various places. This works when running without debugger:
Starting D:\build-simple-5_7_msvc2013_32bit-Debug\debug\simple_test_app.exe... '00\u1e9e' true std::cout @@ 1 std::cout @@ 2 std::cout @@ 3 std::cout <foo & bar> std::cerr 1 std::cerr 2 std::cerr 3 std::cerr <foo & bar> Creator: Switch off magic autorun. qDebug() 1 qDebug() 2 qDebug() 3 qDebug <foo & bar> SENDER: qobject::Sender(0x90fc10, name = "Sender") "HiDu" 3 4 7 in plugin test Test D:\build-simple-5_7_msvc2013_32bit-Debug\debug\simple_test_app.exe exited with code 0
When running through the debugger (CDB in this case), significantly less text shows up on the console:
Debugging starts '00\u1e9e' true Creator: Switch off magic autorun. qDebug() 1 qDebug() 2 qDebug() 3 qDebug <foo & bar> Exception at 0x756edae8, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) at d:\qtcreator-super-4.1\qtcreator\tests\manual\debugger\simple\simple_test_app.cpp:699 SENDER: qobject::Sender(0x6ff79c, name = "Sender") "HiDu" 3 4 Test Debugging has finished
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-29283 std::cout and std::cerr messages not displayed while debugging
- Closed