diff --git a/examples/hello_debug.rs b/examples/hello_debug.rs
index 12b07ced455186b859d0baa69a854945bd0a1255..e5638805699440f9a60603697a0d4ea0e7a3c5ce 100644
--- a/examples/hello_debug.rs
+++ b/examples/hello_debug.rs
@@ -16,4 +16,6 @@ fn main() {
 
     sp!("Semihosting: Hello ");
     spln!("World! for the {} time", 50);
+
+    loop {}
 }