| Index: runtime/observatory/lib/src/models/objects/isolate.dart
|
| diff --git a/runtime/observatory/lib/src/models/objects/isolate.dart b/runtime/observatory/lib/src/models/objects/isolate.dart
|
| index 81d54c5f60571739922ba285efee88c61296403d..45f5524ceec81eed2bfdca7e5b7d50558227856f 100644
|
| --- a/runtime/observatory/lib/src/models/objects/isolate.dart
|
| +++ b/runtime/observatory/lib/src/models/objects/isolate.dart
|
| @@ -5,12 +5,58 @@
|
| part of models;
|
|
|
| abstract class IsolateRef {
|
| + /// The id which is passed to the getIsolate RPC to reload this
|
| + /// isolate.
|
| String get id;
|
| +
|
| + /// A numeric id for this isolate, represented as a string. Unique.
|
| int get number;
|
| +
|
| + /// A name identifying this isolate. Not guaranteed to be unique.
|
| String get name;
|
| }
|
|
|
| abstract class Isolate extends IsolateRef {
|
| + /// The time that the VM started in milliseconds since the epoch.
|
| DateTime get startTime;
|
| +
|
| + /// Is the isolate in a runnable state?
|
| bool get runnable;
|
| +
|
| + /// The number of live ports for this isolate.
|
| + //int get livePorts;
|
| +
|
| + /// Will this isolate pause when exiting?
|
| + //bool get pauseOnExit;
|
| +
|
| + /// The last pause event delivered to the isolate. If the isolate is
|
| + /// running, this will be a resume event.
|
| + //Event get pauseEvent;
|
| +
|
| + /// [optional] The root library for this isolate.
|
| + ///
|
| + /// Guaranteed to be initialized when the IsolateRunnable event fires.
|
| + //LibraryRef get rootLib;
|
| +
|
| + /// A list of all libraries for this isolate.
|
| + ///
|
| + /// Guaranteed to be initialized when the IsolateRunnable event fires.
|
| + Iterable<LibraryRef> get libraries;
|
| +
|
| + /// A list of all breakpoints for this isolate.
|
| + //Iterable<Breakpoint> get breakpoints;
|
| +
|
| + /// [optional] The error that is causing this isolate to exit, if applicable.
|
| + Error get error;
|
| +
|
| + /// The current pause on exception mode for this isolate.
|
| + //ExceptionPauseMode get exceptionPauseMode;
|
| +
|
| + /// [optional]The list of service extension RPCs that are registered for this
|
| + /// isolate, if any.
|
| + Iterable<String> get extensionRPCs;
|
| +
|
| + Map get counters;
|
| + HeapSpace get newSpace;
|
| + HeapSpace get oldSpace;
|
| }
|
|
|