| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index a63fd65d4bc6b2298a08bcdad7a62e160867ede8..b7c2eca03e3db4b2ffeda1a209afae1c7da3781d 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -11042,8 +11042,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;
|
| }
|
|
|
|
|
|
|