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

Unified Diff: Source/bindings/core/v8/ScriptDebugServer.cpp

Issue 473923002: DevTools: Prevent a debugger pause while executing js code in releaseObjectGroup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address aandrey's comment Created 6 years, 4 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 | « Source/bindings/core/v8/ScriptDebugServer.h ('k') | Source/core/inspector/InspectorRuntimeAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/ScriptDebugServer.cpp
diff --git a/Source/bindings/core/v8/ScriptDebugServer.cpp b/Source/bindings/core/v8/ScriptDebugServer.cpp
index ad46ff8219d92f276402d1e171aee7cf132d086a..89bfc886d50f0ec635980225c358b78a7abbec88 100644
--- a/Source/bindings/core/v8/ScriptDebugServer.cpp
+++ b/Source/bindings/core/v8/ScriptDebugServer.cpp
@@ -177,6 +177,11 @@ void ScriptDebugServer::setPauseOnNextStatement(bool pause)
v8::Debug::CancelDebugBreak(m_isolate);
}
+bool ScriptDebugServer::pausingOnNextStatement()
+{
+ return v8::Debug::CheckDebugBreak(m_isolate);
+}
+
bool ScriptDebugServer::canBreakProgram()
{
if (!m_breakpointsActivated)
« no previous file with comments | « Source/bindings/core/v8/ScriptDebugServer.h ('k') | Source/core/inspector/InspectorRuntimeAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698