Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index 67d47c04e06373051b508f2e41c5051e5e2fe088..d3707667c4c9ff2a8a7b2fc8e73ef8b491355f39 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -2317,7 +2317,9 @@ bool Debug::IsBreakAtReturn(JavaScriptFrame* frame) { |
void Debug::FramesHaveBeenDropped(StackFrame::Id new_break_frame_id, |
FrameDropMode mode, |
Object** restarter_frame_function_pointer) { |
- thread_local_.frame_drop_mode_ = mode; |
+ if (mode != CURRENTLY_SET_MODE) { |
+ thread_local_.frame_drop_mode_ = mode; |
+ } |
thread_local_.break_frame_id_ = new_break_frame_id; |
thread_local_.restarter_frame_function_pointer_ = |
restarter_frame_function_pointer; |