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

Unified Diff: src/debug-debugger.js

Issue 494303004: fix and update debug-debugger.js (Closed) Base URL: https://github.com/v8/v8@master
Patch Set: Created 6 years, 4 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 | « AUTHORS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug-debugger.js
diff --git a/src/debug-debugger.js b/src/debug-debugger.js
index a4c8801ea6d4d52a14a44f328d7e7de1e60aab30..a1468a02b885eff10531c230ead64c9b19bcaeda 100644
--- a/src/debug-debugger.js
+++ b/src/debug-debugger.js
@@ -21,7 +21,8 @@ Debug.DebugEvent = { Break: 1,
AfterCompile: 5,
CompileError: 6,
PromiseEvent: 7,
- AsyncTaskEvent: 8 };
+ AsyncTaskEvent: 8,
+ BreakForCommand: 9 };
// Types of exceptions that can be broken upon.
Debug.ExceptionBreak = { Caught : 0,
@@ -1172,10 +1173,13 @@ CompileEvent.prototype.toJSONProtocol = function() {
switch (this.type_) {
case Debug.DebugEvent.BeforeCompile:
o.event = "beforeCompile";
+ break;
case Debug.DebugEvent.AfterCompile:
o.event = "afterCompile";
+ break;
case Debug.DebugEvent.CompileError:
o.event = "compileError";
+ break;
}
o.body = {};
o.body.script = this.script_;
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698