Revision: 23441
Author: [email protected]
Date: Wed Aug 27 09:51:51 2014 UTC
Log: fix and update debug-debugger.js
added `switch` statement is missing `break`s
[email protected]
Review URL: https://codereview.chromium.org/494303004
https://code.google.com/p/v8/source/detail?r=23441
Modified:
/branches/bleeding_edge/AUTHORS
/branches/bleeding_edge/src/debug-debugger.js
=======================================
--- /branches/bleeding_edge/AUTHORS Fri May 23 16:37:27 2014 UTC
+++ /branches/bleeding_edge/AUTHORS Wed Aug 27 09:51:51 2014 UTC
@@ -56,6 +56,7 @@
Peter Varga <[email protected]>
Rafal Krypa <[email protected]>
Rajeev R Krithivasan <[email protected]>
+Refael Ackermann <[email protected]>
Rene Rebe <[email protected]>
Robert Mustacchi <[email protected]>
Rodolph Perfetta <[email protected]>
=======================================
--- /branches/bleeding_edge/src/debug-debugger.js Tue Aug 5 07:42:06 2014
UTC
+++ /branches/bleeding_edge/src/debug-debugger.js Wed Aug 27 09:51:51 2014
UTC
@@ -21,7 +21,8 @@
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 @@
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_;
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.