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

Unified Diff: src/d8.js

Issue 17071: Fixed double printing of exceptions when enabeling the debugger.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 11 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 | « src/d8.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.js
===================================================================
--- src/d8.js (revision 1024)
+++ src/d8.js (working copy)
@@ -705,9 +705,14 @@
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';
« no previous file with comments | « src/d8.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698