Index: Source/devtools/front_end/sources/ScopeChainSidebarPane.js |
diff --git a/Source/devtools/front_end/sources/ScopeChainSidebarPane.js b/Source/devtools/front_end/sources/ScopeChainSidebarPane.js |
index acaaa19b7e5520d10689b2fc5fa8b88327fb6160..40948bf55c98091fbabafb3dd7d0aee733e7e23d 100644 |
--- a/Source/devtools/front_end/sources/ScopeChainSidebarPane.js |
+++ b/Source/devtools/front_end/sources/ScopeChainSidebarPane.js |
@@ -82,7 +82,7 @@ WebInspector.ScopeChainSidebarPane.prototype = { |
title = WebInspector.UIString("Local"); |
emptyPlaceholder = WebInspector.UIString("No Variables"); |
var thisObject = callFrame.thisObject(); |
- if (thisObject) |
+ if (thisObject && callFrame.script.language != 'Dart') |
extraProperties.push(new WebInspector.RemoteObjectProperty("this", thisObject)); |
if (i == 0) { |
var details = callFrame.debuggerModel.debuggerPausedDetails(); |
@@ -115,6 +115,22 @@ WebInspector.ScopeChainSidebarPane.prototype = { |
case DebuggerAgent.ScopeType.Global: |
title = WebInspector.UIString("Global"); |
break; |
+ case DebuggerAgent.ScopeType.Instance: |
+ title = WebInspector.UIString("Instance"); |
+ declarativeScope = false; |
+ break; |
+ case DebuggerAgent.ScopeType.Class: |
+ title = WebInspector.UIString("Class"); |
+ declarativeScope = false; |
+ break; |
+ case DebuggerAgent.ScopeType.Library: |
+ title = WebInspector.UIString("Library"); |
+ declarativeScope = false; |
+ break; |
+ case DebuggerAgent.ScopeType.Isolate: |
+ title = WebInspector.UIString("Isolate"); |
+ declarativeScope = false; |
+ break; |
} |
var subtitle = scope.description(); |