From 0f813fdc3355a53e84740bfe67caa65027ff7b0b Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Tue, 16 Nov 2010 16:26:29 +0100 Subject: [PATCH] debugger: Added comment about unexpected behavior --- tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp b/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp index 14964b7195..96d62dbdf0 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; -- 2.11.0