Index: src/inspector/debugger-script.js |
diff --git a/src/inspector/debugger-script.js b/src/inspector/debugger-script.js |
index deb875f79f410693be257070ba9674897f546394..144830d30e5a51657a55a4078faea6613cdbf1c5 100644 |
--- a/src/inspector/debugger-script.js |
+++ b/src/inspector/debugger-script.js |
@@ -33,18 +33,6 @@ |
var DebuggerScript = {}; |
-/** @enum */ |
-const PauseOnExceptionsState = { |
- DontPauseOnExceptions: 0, |
- PauseOnAllExceptions: 1, |
- PauseOnUncaughtExceptions: 2 |
-}; |
-DebuggerScript.PauseOnExceptionsState = PauseOnExceptionsState; |
- |
-DebuggerScript._pauseOnExceptionsState = DebuggerScript.PauseOnExceptionsState.DontPauseOnExceptions; |
-Debug.clearBreakOnException(); |
-Debug.clearBreakOnUncaughtException(); |
- |
/** |
* @param {?CompileEvent} eventData |
*/ |
@@ -253,32 +241,6 @@ DebuggerScript.removeBreakpoint = function(execState, info) |
} |
/** |
- * @return {number} |
- */ |
-DebuggerScript.pauseOnExceptionsState = function() |
-{ |
- return DebuggerScript._pauseOnExceptionsState; |
-} |
- |
-/** |
- * @param {number} newState |
- */ |
-DebuggerScript.setPauseOnExceptionsState = function(newState) |
-{ |
- DebuggerScript._pauseOnExceptionsState = newState; |
- |
- if (DebuggerScript.PauseOnExceptionsState.PauseOnAllExceptions === newState) |
- Debug.setBreakOnException(); |
- else |
- Debug.clearBreakOnException(); |
- |
- if (DebuggerScript.PauseOnExceptionsState.PauseOnUncaughtExceptions === newState) |
- Debug.setBreakOnUncaughtException(); |
- else |
- Debug.clearBreakOnUncaughtException(); |
-} |
- |
-/** |
* @param {!ExecutionState} execState |
* @param {number} limit |
* @return {!Array<!JavaScriptCallFrame>} |