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

Unified Diff: runtime/vm/debugger_api_impl.cc

Issue 2979193002: Restore kPausePostRequest event handling (Closed)
Patch Set: Fixed typo Created 3 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger_api_impl.cc
diff --git a/runtime/vm/debugger_api_impl.cc b/runtime/vm/debugger_api_impl.cc
index 66ff8a019eabc31963625d96e39857cafd205275..5b694a18f15580db731865c6495320d4837f3bec 100644
--- a/runtime/vm/debugger_api_impl.cc
+++ b/runtime/vm/debugger_api_impl.cc
@@ -158,7 +158,8 @@ static void DebuggerEventHandler(ServiceEvent* event) {
if (isolate_event_handler != NULL) {
(*isolate_event_handler)(event->isolate_id(), kCreated);
}
- } else if (event->kind() == ServiceEvent::kPauseInterrupted) {
+ } else if (event->kind() == ServiceEvent::kPauseInterrupted ||
+ event->kind() == ServiceEvent::kPausePostRequest) {
if (isolate_event_handler != NULL) {
(*isolate_event_handler)(event->isolate_id(), kInterrupted);
}
@@ -166,8 +167,6 @@ static void DebuggerEventHandler(ServiceEvent* event) {
if (isolate_event_handler != NULL) {
(*isolate_event_handler)(event->isolate_id(), kShutdown);
}
- } else if (event->kind() == ServiceEvent::kPausePostRequest) {
- // Ignore.
} else {
UNIMPLEMENTED();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698