Index: src/inspector/debugger-script.js |
diff --git a/src/inspector/debugger-script.js b/src/inspector/debugger-script.js |
index 18beac0e03ceea0d897f7d584a6a38984c51eddd..98910d69df7167d0bb7e1ff8b9cd5b777cf6ec23 100644 |
--- a/src/inspector/debugger-script.js |
+++ b/src/inspector/debugger-script.js |
@@ -34,11 +34,12 @@ |
var DebuggerScript = {}; |
/** @enum */ |
-DebuggerScript.PauseOnExceptionsState = { |
+const PauseOnExceptionsState = { |
DontPauseOnExceptions: 0, |
PauseOnAllExceptions: 1, |
PauseOnUncaughtExceptions: 2 |
}; |
+DebuggerScript.PauseOnExceptionsState = PauseOnExceptionsState; |
DebuggerScript._pauseOnExceptionsState = DebuggerScript.PauseOnExceptionsState.DontPauseOnExceptions; |
Debug.clearBreakOnException(); |
@@ -422,7 +423,7 @@ DebuggerScript._frameMirrorToJSCallFrame = function(frameMirror) |
var returnValue = isAtReturn ? frameDetails.returnValue() : undefined; |
var scopeMirrors = frameMirror.allScopes(false); |
- /** @type {!Array<ScopeType>} */ |
+ /** @type {!Array<number>} */ |
var scopeTypes = new Array(scopeMirrors.length); |
/** @type {?Array<!Object>} */ |
var scopeObjects = new Array(scopeMirrors.length); |