Index: src/inspector/v8-debugger-agent-impl.cc |
diff --git a/src/inspector/v8-debugger-agent-impl.cc b/src/inspector/v8-debugger-agent-impl.cc |
index 980b2346f45949d78d9c661a09bc734023510078..431c297a744888b244eaec5a3ec4ac42c11693be 100644 |
--- a/src/inspector/v8-debugger-agent-impl.cc |
+++ b/src/inspector/v8-debugger-agent-impl.cc |
@@ -1250,7 +1250,7 @@ void V8DebuggerAgentImpl::breakProgram( |
std::vector<BreakReason> currentScheduledReason; |
currentScheduledReason.swap(m_breakReason); |
pushBreakDetails(breakReason, std::move(data)); |
- m_debugger->breakProgram(); |
+ if (!m_debugger->breakProgram(m_session->contextGroupId())) return; |
popBreakDetails(); |
m_breakReason.swap(currentScheduledReason); |
if (!m_breakReason.empty()) { |