Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index 94c2992fc2965ac022244d902803ef59390d1ce9..ae11d5fc5d397ac17f51aa2254b543ca1415dff7 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -42,6 +42,9 @@ RUNTIME_FUNCTION(Runtime_DebugBreakOnBytecode) { |
JavaScriptFrameIterator it(isolate); |
isolate->debug()->Break(it.frame()); |
+ // If live-edit has dropped frames, we are not going back to dispatch. |
+ if (LiveEdit::SetAfterBreakTarget(isolate->debug())) return Smi::FromInt(0); |
+ |
// Return the handler from the original bytecode array. |
DCHECK(it.frame()->is_interpreted()); |
InterpretedFrame* interpreted_frame = |