| Index: src/inspector/debugger-script.js
|
| diff --git a/src/inspector/debugger-script.js b/src/inspector/debugger-script.js
|
| index 98910d69df7167d0bb7e1ff8b9cd5b777cf6ec23..4c97bd865f0ef52ace61fdbaf1bf74d3309c5bee 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>}
|
|
|