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

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

Issue 2411153002: Make reloadSources service RPC public (Closed)
Patch Set: turnidge review Created 4 years, 2 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
« no previous file with comments | « runtime/observatory/lib/event.dart ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/models/objects/event.dart
diff --git a/runtime/observatory/lib/src/models/objects/event.dart b/runtime/observatory/lib/src/models/objects/event.dart
index 18f491ef6fb5b12f8a59d74f9d734770c02daf00..9fd73594879cf90ea1ccad2ad583c19cd37e0204 100644
--- a/runtime/observatory/lib/src/models/objects/event.dart
+++ b/runtime/observatory/lib/src/models/objects/event.dart
@@ -16,6 +16,7 @@ abstract class Event {
event is PauseBreakpointEvent ||
event is PauseInterruptedEvent ||
event is PauseExceptionEvent ||
+ event is PausePostRequestEvent ||
event is NoneEvent;
}
}
@@ -88,6 +89,15 @@ abstract class PauseInterruptedEvent extends DebugEvent {
bool get atAsyncSuspension;
}
+abstract class PausePostRequestEvent extends DebugEvent {
+ /// [optional] The top stack frame associated with this event. There will be
+ /// no top frame if the isolate is idle (waiting in the message loop).
+ Frame get topFrame;
+
+ /// Is the isolate paused at an await, yield, or yield* statement?
+ bool get atAsyncSuspension;
+}
+
abstract class PauseExceptionEvent extends DebugEvent {
/// The top stack frame associated with this event.
Frame get topFrame;
« no previous file with comments | « runtime/observatory/lib/event.dart ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698