Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(540)

Unified Diff: src/inspector/v8-debugger-agent-impl.cc

Issue 2923243002: [inspector] Return error when paused in different context group (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/inspector/v8-debugger.cc ('k') | test/inspector/debugger/pause.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 37c26e48801a40dbff88ae6c628fded8fc3355b0..f08aa0f52aaabfec5a457cf128cafd64768a6975 100644
--- a/src/inspector/v8-debugger-agent-impl.cc
+++ b/src/inspector/v8-debugger-agent-impl.cc
@@ -1035,9 +1035,7 @@ V8DebuggerAgentImpl::currentAsyncStackTrace() {
}
bool V8DebuggerAgentImpl::isPaused() const {
- // TODO(dgozman): this check allows once context group to resume the other,
- // since they share debugger.
- return m_debugger->isPaused();
+ return m_debugger->isPausedInContextGroup(m_session->contextGroupId());
}
void V8DebuggerAgentImpl::didParseSource(
« no previous file with comments | « src/inspector/v8-debugger.cc ('k') | test/inspector/debugger/pause.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698