diff --git a/src-backend/src/syscall.rs b/src-backend/src/syscall.rs index b067719..4bca48f 100644 --- a/src-backend/src/syscall.rs +++ b/src-backend/src/syscall.rs @@ -823,12 +823,14 @@ impl SyscallDelegate { } pub async fn run>( - &self, debugger: &Executor, should_skip_first: bool + &self, debugger: &Executor, mut should_skip_first: bool ) -> (DebugFrame, Option) { loop { let frame = debugger.run(should_skip_first); let (frame, result, recovered) = self.handle_frame(debugger, frame).await; + should_skip_first = false; + if let Some(frame) = frame { return (frame, result); }