about summary refs log tree commit diff stats
path: root/example/jitter
diff options
context:
space:
mode:
Diffstat (limited to 'example/jitter')
-rw-r--r--example/jitter/memory_breakpoint.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/example/jitter/memory_breakpoint.py b/example/jitter/memory_breakpoint.py
index fc41eae8..900b1621 100644
--- a/example/jitter/memory_breakpoint.py
+++ b/example/jitter/memory_breakpoint.py
@@ -48,7 +48,8 @@ def memory_breakpoint_handler(jitter):
     jitter.vm.set_exception(jitter.vm.get_exception() ^ EXCEPT_BREAKPOINT_MEMORY)
     jitter.vm.reset_memory_access()
 
-    return True
+    # Stop the jitter
+    return False
 sb.jitter.add_exception_handler(EXCEPT_BREAKPOINT_MEMORY, memory_breakpoint_handler)
 
 # Run