Commit 0f813fdc authored by Robert Loehning's avatar Robert Loehning
Browse files

debugger: Added comment about unexpected behavior

parent d992b223
...@@ -1878,6 +1878,9 @@ void testEndlessRecursion() ...@@ -1878,6 +1878,9 @@ void testEndlessRecursion()
int testEndlessLoop() int testEndlessLoop()
{ {
qlonglong a = 1; qlonglong a = 1;
// gdb:
// Breakpoint at "while" will stop only once
// Hitting "Pause" button might show backtrace of different thread
while (a > 0) while (a > 0)
++a; ++a;
return a; return a;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment