Index: runtime/observatory/lib/src/service/object.dart |
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart |
index 8c9717faa4b309ea17fb9a407a6719bcf3440355..fe89cec77b144d727ecf315b5bc021d9128cdb07 100644 |
--- a/runtime/observatory/lib/src/service/object.dart |
+++ b/runtime/observatory/lib/src/service/object.dart |
@@ -1171,6 +1171,8 @@ class Isolate extends ServiceObjectOwner with Coverage { |
@observable bool ioEnabled = false; |
+ final List<String> serviceExtensions = new List<String>(); |
+ |
Map<String,ServiceObject> _cache = new Map<String,ServiceObject>(); |
final TagProfile tagProfile = new TagProfile(20); |
@@ -1436,6 +1438,10 @@ class Isolate extends ServiceObjectOwner with Coverage { |
if (savedStartTime == null) { |
vm._buildIsolateList(); |
} |
+ |
+ serviceExtensions.clear(); |
+ serviceExtensions.addAll(map['serviceExtensions']); |
+ libraries.sort(ServiceObject.LexicalSortName); |
turnidge
2015/12/16 18:47:25
Is the libraries.sort line here on accident? Appe
Cutch
2015/12/16 21:19:56
Copy and paste bug. Removed.
|
} |
Future<TagProfile> updateTagProfile() { |
@@ -1884,6 +1890,8 @@ class ServiceEvent extends ServiceObject { |
static const kIsolateRunnable = 'IsolateRunnable'; |
static const kIsolateExit = 'IsolateExit'; |
static const kIsolateUpdate = 'IsolateUpdate'; |
+ static const kIsolateServiceExtensionRegistered = |
+ 'IsolateServiceExtensionRegistered'; |
static const kPauseStart = 'PauseStart'; |
static const kPauseExit = 'PauseExit'; |
static const kPauseBreakpoint = 'PauseBreakpoint'; |
@@ -1910,6 +1918,7 @@ class ServiceEvent extends ServiceObject { |
@observable DateTime timestamp; |
@observable Breakpoint breakpoint; |
@observable Frame topFrame; |
+ @observable String serviceExtensionName; |
@observable Instance exception; |
@observable Instance asyncContinuation; |
@observable bool atAsyncJump; |
@@ -1952,6 +1961,9 @@ class ServiceEvent extends ServiceObject { |
breakpoint = pauseBpts[0]; |
} |
} |
+ if (map['serviceExtensionName'] != null) { |
+ serviceExtensionName = map['serviceExtensionName']; |
+ } |
topFrame = map['topFrame']; |
if (map['exception'] != null) { |
exception = map['exception']; |