Index: src/debug/debug.cc |
diff --git a/src/debug/debug.cc b/src/debug/debug.cc |
index 1dc221b001cc18889894a338126dd9bbddd9f46a..711f54d9ff2c043f0ea3f55c20da6485fc9caa14 100644 |
--- a/src/debug/debug.cc |
+++ b/src/debug/debug.cc |
@@ -936,7 +936,7 @@ void Debug::PrepareStepOnThrow() { |
it.Advance(); |
} |
- if (last_step_action() == StepNext) { |
+ if (last_step_action() == StepNext || last_step_action() == StepOut) { |
while (!it.done()) { |
Address current_fp = it.frame()->UnpaddedFP(); |
if (current_fp >= thread_local_.target_fp_) break; |