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

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

Issue 2411153002: Make reloadSources service RPC public (Closed)
Patch Set: 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
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..0dac408e99bba75c65cb036663568d6bc3e9c94e 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 PausePostReloadEvent ||
event is NoneEvent;
}
}
@@ -88,6 +89,15 @@ abstract class PauseInterruptedEvent extends DebugEvent {
bool get atAsyncSuspension;
}
+abstract class PausePostReloadEvent 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;

Powered by Google App Engine
This is Rietveld 408576698