Detect the response to the continue command.
Review URL: http://codereview.chromium.org/17071
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1025
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
Handle<Script> script = Script::Compile(source, name);
if (script.IsEmpty()) {
// Print errors that happened during compilation.
- if (report_exceptions)
+ if (report_exceptions && !i::FLAG_debugger)
ReportException(&try_catch);
return false;
} else {
Handle<Value> result = script->Run();
if (result.IsEmpty()) {
// Print errors that happened during execution.
- if (report_exceptions)
+ if (report_exceptions && !i::FLAG_debugger)
ReportException(&try_catch);
return false;
} else {
details.text = result;
break;
+ case 'continue':
+ details.text = "(running)";
+ break;
+
default:
details.text =
- 'Response for unknown command \'' + response.command + '\'';
+ 'Response for unknown command \'' + response.command + '\'' +
+ ' (' + json_response + ')';
}
} catch (e) {
details.text = 'Error: "' + e + '" formatting response';