Index: src/inspector/v8-debugger.h |
diff --git a/src/inspector/v8-debugger.h b/src/inspector/v8-debugger.h |
index 66450410b9332096ce6159cf41ad502ffa1cef6d..27b169c61f5433fd05d5376b86a4b4b882fca23f 100644 |
--- a/src/inspector/v8-debugger.h |
+++ b/src/inspector/v8-debugger.h |
@@ -42,13 +42,8 @@ class V8Debugger { |
void setBreakpointsActivated(bool); |
bool breakpointsActivated() const { return m_breakpointsActivated; } |
- enum PauseOnExceptionsState { |
- DontPauseOnExceptions, |
- PauseOnAllExceptions, |
- PauseOnUncaughtExceptions |
- }; |
- PauseOnExceptionsState getPauseOnExceptionsState(); |
- void setPauseOnExceptionsState(PauseOnExceptionsState); |
+ v8::DebugInterface::ExceptionBreakState getPauseOnExceptionsState(); |
+ void setPauseOnExceptionsState(v8::DebugInterface::ExceptionBreakState); |
void setPauseOnNextStatement(bool); |
bool canBreakProgram(); |
void breakProgram(); |
@@ -152,6 +147,8 @@ class V8Debugger { |
std::vector<std::unique_ptr<V8StackTraceImpl>> m_currentStacks; |
protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap; |
+ v8::DebugInterface::ExceptionBreakState m_pauseOnExceptionsState; |
+ |
DISALLOW_COPY_AND_ASSIGN(V8Debugger); |
}; |