Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 40f9a3de923b1d370c6206b0cfd48a3a86d491f6..6b1a6a840a3199fb6b8a9766aa17c7d48914e853 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -10840,7 +10840,7 @@ RUNTIME_FUNCTION(Runtime_DebugGetPropertyDetails) { |
// could have the assumption that its own native context is the current |
// context and not some internal debugger context. |
SaveContext save(isolate); |
- if (isolate->debug()->is_entered()) { |
+ if (isolate->debug()->in_debug_scope()) { |
isolate->set_context(*isolate->debug()->debugger_entry()->GetContext()); |
} |
@@ -13622,7 +13622,7 @@ RUNTIME_FUNCTION(Runtime_ExecuteInDebugContext) { |
0, |
NULL); |
} else { |
- EnterDebugger enter_debugger(isolate); |
+ DebugScope debug_scope(isolate->debug()); |
maybe_result = Execution::Call(isolate, |
function, |
isolate->global_object(), |