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

Unified Diff: runtime/bin/dbg_connection_macos.cc

Issue 10990089: First step towards support for being able to interrupt a running Dart Isolate (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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/bin/dbg_connection_linux.cc ('k') | runtime/bin/dbg_message.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/dbg_connection_macos.cc
===================================================================
--- runtime/bin/dbg_connection_macos.cc (revision 13147)
+++ runtime/bin/dbg_connection_macos.cc (working copy)
@@ -84,14 +84,14 @@
FATAL1("Failed adding debugger socket to kqueue: %s\n", strerror(errno));
}
*/
- } else if (ident == DebuggerConnectionHandler::debugger_fd_) {
- printf("unexpected: receiving debugger connection event.\n");
- UNIMPLEMENTED();
- } else {
+ } else if (ident == wakeup_fds[0]) {
Message msg;
if (ReceiveMessage(&msg)) {
printf("Received sync message id %d.\n", msg.msg_id);
}
+ } else {
+ printf("unexpected: receiving debugger connection event.\n");
+ UNIMPLEMENTED();
}
}
« no previous file with comments | « runtime/bin/dbg_connection_linux.cc ('k') | runtime/bin/dbg_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698