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

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: 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
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()
Yang 2014/08/18 09:30:23 This name is somewhat misleading. Interrupts in V8
+{
+ return v8::Debug::CheckDebugBreak(m_isolate);
+}
+
bool ScriptDebugServer::canBreakProgram()
{
if (!m_breakpointsActivated)

Powered by Google App Engine
This is Rietveld 408576698