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

Unified Diff: src/debug.cc

Issue 42175: Updated a few comments (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 9 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: src/debug.cc
===================================================================
--- src/debug.cc (revision 1509)
+++ src/debug.cc (working copy)
@@ -1958,7 +1958,8 @@
return;
}
- // Notify the debugger that a debug event has occurred.
+ // Notify the debugger that a debug event has occurred unless auto continue is
+ // active in which case no event is send.
if (!auto_continue) {
bool success = SetEventJSONFromEvent(event_data);
if (!success) {
@@ -2051,7 +2052,9 @@
// Return the result.
SendMessage(str);
- // Return from debug event processing is VM should be running.
+ // Return from debug event processing if either the VM is put into the
+ // runnning state (through a continue command) or auto continue is active
+ // and there are no more commands queued.
if (running || (auto_continue && !HasCommands())) {
return;
}
« 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