Review URL: http://codereview.chromium.org/42175
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1515
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
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) {
// 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;
}