| Index: runtime/bin/vmservice/client/lib/src/observatory/isolate.dart
|
| diff --git a/runtime/bin/vmservice/client/lib/src/observatory/isolate.dart b/runtime/bin/vmservice/client/lib/src/observatory/isolate.dart
|
| index d17700b8a6d6531f2e16ffdb24805de70ee00172..6103922046dff893be216468b2b9bd9ed9cc70cb 100644
|
| --- a/runtime/bin/vmservice/client/lib/src/observatory/isolate.dart
|
| +++ b/runtime/bin/vmservice/client/lib/src/observatory/isolate.dart
|
| @@ -8,7 +8,7 @@ part of observatory;
|
| /// State for a running isolate.
|
| class Isolate extends Observable {
|
| static ObservatoryApplication _application;
|
| -
|
| +
|
| @observable Profile profile;
|
| @observable final Map<String, Script> scripts =
|
| toObservable(new Map<String, Script>());
|
| @@ -25,9 +25,9 @@ class Isolate extends Observable {
|
|
|
| @observable Map topFrame = null;
|
| @observable String fileAndLine = null;
|
| -
|
| +
|
| Isolate.fromId(this.id) : name = '' {}
|
| -
|
| +
|
| Isolate.fromMap(Map map)
|
| : id = map['id'], name = map['name'] {
|
| }
|
| @@ -40,7 +40,7 @@ class Isolate extends Observable {
|
| Logger.root.severe('Error while updating isolate summary: $e\n$trace');
|
| });
|
| }
|
| -
|
| +
|
| void update(Map map) {
|
| if (map['type'] != 'Isolate') {
|
| Logger.root.severe('Unexpected message type in Isolate.update: ${map["type"]}');
|
| @@ -88,6 +88,7 @@ class Isolate extends Observable {
|
| return codes[i];
|
| }
|
| }
|
| + return null;
|
| }
|
|
|
| Code findCodeByName(String name) {
|
| @@ -96,6 +97,7 @@ class Isolate extends Observable {
|
| return codes[i];
|
| }
|
| }
|
| + return null;
|
| }
|
|
|
| void resetCodeTicks() {
|
|
|