summaryrefslogtreecommitdiff
path: root/deps/v8/src/debug-debugger.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/debug-debugger.js')
-rw-r--r--deps/v8/src/debug-debugger.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/deps/v8/src/debug-debugger.js b/deps/v8/src/debug-debugger.js
index a4c8801ea6..a1468a02b8 100644
--- a/deps/v8/src/debug-debugger.js
+++ b/deps/v8/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_;