| Index: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp
|
| index dcbbdfa534d5ed12ab345bbdb4c8d3b50b59ab6f..3c1e254e715476dd0f5ff191ecdad977ceefa98f 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp
|
| @@ -204,6 +204,7 @@ void V8DebuggerAgentImpl::enable()
|
|
|
| // FIXME(WK44513): breakpoints activated flag should be synchronized between all front-ends
|
| debugger().setBreakpointsActivated(true);
|
| + m_session->changeInstrumentationCounter(+1);
|
| }
|
|
|
| bool V8DebuggerAgentImpl::enabled()
|
| @@ -225,6 +226,7 @@ void V8DebuggerAgentImpl::disable(ErrorString*)
|
| {
|
| if (!enabled())
|
| return;
|
| + m_session->changeInstrumentationCounter(-1);
|
|
|
| m_state->setObject(DebuggerAgentState::javaScriptBreakpoints, protocol::DictionaryValue::create());
|
| m_state->setNumber(DebuggerAgentState::pauseOnExceptionsState, V8DebuggerImpl::DontPauseOnExceptions);
|
|
|