diff --git a/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp b/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp index 14964b7195e..96d62dbdf06 100644 --- a/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp +++ b/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp @@ -1878,6 +1878,9 @@ void testEndlessRecursion() int testEndlessLoop() { qlonglong a = 1; + // gdb: + // Breakpoint at "while" will stop only once + // Hitting "Pause" button might show backtrace of different thread while (a > 0) ++a; return a;