Index: src/wasm/wasm-debug.cc |
diff --git a/src/wasm/wasm-debug.cc b/src/wasm/wasm-debug.cc |
index c4f4c29053e15a63de0f5d79be21bef9d71d7adf..3b8d44bda2251bbb3a7983f571bc173c1cf364ea 100644 |
--- a/src/wasm/wasm-debug.cc |
+++ b/src/wasm/wasm-debug.cc |
@@ -165,7 +165,7 @@ class InterpreterHandle { |
return thread->Step(); |
case StepOut: |
thread->AddBreakFlags(WasmInterpreter::BreakFlag::AfterReturn); |
- return thread->Step(); |
+ return thread->Run(); |
case StepNext: { |
int stack_depth = thread->GetFrameCount(); |
if (stack_depth == last_step_stack_depth_) return thread->Step(); |