Commit aa6571ba authored by Robert Loehning's avatar Robert Loehning Committed by hjk
Browse files

debugger: Added some vars to testFinal, so the debugger can show locals



Change-Id: I4b63bde13a9a74d50e654bcc167b7f19fec48919
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 735898b4
......@@ -2016,20 +2016,22 @@ namespace final {
void testNullPointerDeref()
{
int a = 'a';
int b = 'b';
BREAK_HERE;
// Continue.
return; // Uncomment.
*(int *)0 = 0;
*(int *)0 = a + b;
}
void testEndlessRecursion()
void testEndlessRecursion(int i = 0)
{
BREAK_HERE;
// Continue.
return; // Uncomment.
testEndlessRecursion();
testEndlessRecursion(i + 1);
}
void testEndlessLoop()
......
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