Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index db41e6fad531098eb0f9015a41d643e13f3ff702..a235f078c85cf6c11f93f209f7305ce515681918 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1324,7 +1324,7 @@ Handle<Context> Isolate::global_context() { |
Handle<Context> Isolate::GetCallingNativeContext() { |
JavaScriptFrameIterator it(this); |
- if (debug_->is_entered()) { |
+ if (debug_->in_debug_scope()) { |
while (!it.done()) { |
JavaScriptFrame* frame = it.frame(); |
Context* context = Context::cast(frame->context()); |