debugger: Added comment about unexpected behavior

This commit is contained in:
Robert Loehning
2010-11-16 16:26:29 +01:00
parent d992b223f6
commit 0f813fdc33

View File

@@ -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;