Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index d07d1a176b4405be784905bf252130dd95911e13..99dc6bfc406de1bc245c51fa302ab7d9ba32474c 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -11044,8 +11044,9 @@ RUNTIME_FUNCTION(Runtime_DebugIndexedInterceptorElementValue) { |
static bool CheckExecutionState(Isolate* isolate, int break_id) { |
- return (isolate->debug()->break_id() != 0 && |
- break_id == isolate->debug()->break_id()); |
+ return !isolate->debug()->debug_context().is_null() && |
+ isolate->debug()->break_id() != 0 && |
+ isolate->debug()->break_id() == break_id; |
} |