Commit 6a9d16f4 authored by sgjesse@chromium.org's avatar sgjesse@chromium.org

Missed a few comment changes in r1508.

Review URL: http://codereview.chromium.org/42175

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1515 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 0a09a08e
......@@ -1958,7 +1958,8 @@ void DebugMessageThread::DebugEvent(v8::DebugEvent event,
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 @@ void DebugMessageThread::DebugEvent(v8::DebugEvent event,
// 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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment