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

Unified Diff: runtime/bin/dbg_message.h

Issue 113513004: Handle vmservice messages while at breakpoint. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years 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 | runtime/bin/dbg_message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/dbg_message.h
===================================================================
--- runtime/bin/dbg_message.h (revision 31232)
+++ runtime/bin/dbg_message.h (working copy)
@@ -161,9 +161,17 @@
const char* end,
int debug_fd);
- // Handle all debug command messages in the queue.
- void HandleMessages();
+ // Notify an isolate of a pending vmservice message.
+ void Notify();
+ // Run a message loop which handles messages as they arrive until
+ // normal program execution resumes.
+ void MessageLoop();
+
+ // Handle any pending debug command messages in the queue. Return
+ // value indicates whether a resume has been requested.
+ bool HandlePendingMessages();
+
// Interrupt Isolate.
void InterruptIsolate();
@@ -225,6 +233,9 @@
const char* end,
int debug_fd);
+ // Notify an isolate of a pending vmservice message.
+ static void NotifyIsolate(Dart_Isolate isolate);
+
// Interrupt isolate.
static bool InterruptIsolate(Dart_IsolateId isolate_id);
« no previous file with comments | « no previous file | runtime/bin/dbg_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698