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

Unified Diff: Source/core/inspector/InspectorDebuggerAgent.cpp

Issue 60203007: DevTools: Fix disabling all pauses on reload. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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/core/inspector/InspectorDebuggerAgent.cpp
diff --git a/Source/core/inspector/InspectorDebuggerAgent.cpp b/Source/core/inspector/InspectorDebuggerAgent.cpp
index 539bf174ab1259cda34736595d6d261e2b318981..2e436cc8b3b79f77730cc8e0d68741e20faee97f 100644
--- a/Source/core/inspector/InspectorDebuggerAgent.cpp
+++ b/Source/core/inspector/InspectorDebuggerAgent.cpp
@@ -1025,6 +1025,8 @@ bool InspectorDebuggerAgent::canBreakProgram()
void InspectorDebuggerAgent::breakProgram(InspectorFrontend::Debugger::Reason::Enum breakReason, PassRefPtr<JSONObject> data)
{
+ if (m_skipAllPauses)
yurys 2013/11/08 06:38:26 Why shouldSkipBreakpointPause/shouldSkipStepPause
aandrey 2013/11/08 09:10:39 The shouldSkip* methods are listener callbacks cal
+ return;
m_breakReason = breakReason;
m_breakAuxData = data;
scriptDebugServer().breakProgram();

Powered by Google App Engine
This is Rietveld 408576698