Index: src/mirror-debugger.js |
diff --git a/src/mirror-debugger.js b/src/mirror-debugger.js |
index f288123bcafad8ea3ea01b9f626ebe8a7c612d32..b07d1fef7a369e92b149f5ff7c72e2ab3c47ee71 100644 |
--- a/src/mirror-debugger.js |
+++ b/src/mirror-debugger.js |
@@ -1692,10 +1692,11 @@ FrameMirror.prototype.scope = function(index) { |
}; |
-FrameMirror.prototype.allScopes = function() { |
+FrameMirror.prototype.allScopes = function(opt_ignore_nested_scopes) { |
var scopeDetails = %GetAllScopesDetails(this.break_id_, |
this.details_.frameId(), |
- this.details_.inlinedFrameIndex()); |
+ this.details_.inlinedFrameIndex(), |
+ !!opt_ignore_nested_scopes); |
var result = []; |
for (var i = 0; i < scopeDetails.length; ++i) { |
result.push(new ScopeMirror(this, UNDEFINED, i, scopeDetails[i])); |