Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(753)

Unified Diff: runtime/observatory/lib/src/models/objects/isolate.dart

Issue 2304463002: Converted Observatory vm-view && isolate-view elements (Closed)
Patch Set: Removed trailing whitespaces Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 45f5524ceec81eed2bfdca7e5b7d50558227856f..9b348288a73f45d1c5e36f11048895d7da62ed01 100644
--- a/runtime/observatory/lib/src/models/objects/isolate.dart
+++ b/runtime/observatory/lib/src/models/objects/isolate.dart
@@ -16,6 +16,13 @@ abstract class IsolateRef {
String get name;
}
+enum IsolateStatus {
+ loading,
+ idle,
+ running,
+ paused
+}
+
abstract class Isolate extends IsolateRef {
/// The time that the VM started in milliseconds since the epoch.
DateTime get startTime;
@@ -31,12 +38,12 @@ abstract class Isolate extends IsolateRef {
/// The last pause event delivered to the isolate. If the isolate is
/// running, this will be a resume event.
- //Event get pauseEvent;
+ Event get pauseEvent;
/// [optional] The root library for this isolate.
///
/// Guaranteed to be initialized when the IsolateRunnable event fires.
- //LibraryRef get rootLib;
+ LibraryRef get rootLibrary;
/// A list of all libraries for this isolate.
///
@@ -52,11 +59,16 @@ abstract class Isolate extends IsolateRef {
/// The current pause on exception mode for this isolate.
//ExceptionPauseMode get exceptionPauseMode;
- /// [optional]The list of service extension RPCs that are registered for this
+ /// [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;
+
+ IsolateStatus get status;
+
+ /// [optional]
+ FunctionRef get entry;
}

Powered by Google App Engine
This is Rietveld 408576698