diff --git a/tests/manual/debugger/simple/simple_test_app.cpp b/tests/manual/debugger/simple/simple_test_app.cpp
index fd89047c43124a46d62962da5b4872ac5a15a138..80059e99ece5af13a78076a03128523b77aa805c 100644
--- a/tests/manual/debugger/simple/simple_test_app.cpp
+++ b/tests/manual/debugger/simple/simple_test_app.cpp
@@ -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()