Index: src/debug/debug.cc |
diff --git a/src/debug/debug.cc b/src/debug/debug.cc |
index 5323c13a90902ed4e7d2f033e53cff481a47458f..e93dd3566196f47e3ec30156dea39a2c6f15b63d 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; |