Index: dart/editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/webkit/WebkitCallFrame.java |
=================================================================== |
--- dart/editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/webkit/WebkitCallFrame.java (revision 37220) |
+++ dart/editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/webkit/WebkitCallFrame.java (working copy) |
@@ -96,6 +96,19 @@ |
} |
/** |
+ * Return the 'isolate' scope - the list of libraries for the current isolate. |
+ */ |
+ public WebkitRemoteObject getIsolateScope() { |
+ for (WebkitScope scope : getScopeChain()) { |
+ if (scope.isIsolate()) { |
+ return scope.getObject(); |
+ } |
+ } |
+ |
+ return null; |
+ } |
+ |
+ /** |
* Return the 'libraries' scope - the list of libraries for the current isolate. |
*/ |
public WebkitRemoteObject getLibrariesScope() { |