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

Unified Diff: Source/devtools/front_end/ScriptsPanel.js

Issue 14294004: Implementing console command 'debug'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added a test for undebug command. Created 7 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
Index: Source/devtools/front_end/ScriptsPanel.js
diff --git a/Source/devtools/front_end/ScriptsPanel.js b/Source/devtools/front_end/ScriptsPanel.js
index 5c5db2a60c78b229833b4d6c74efefd301825076..af88210362b3462b2fc10a63fcd5c7a515a39475 100755
--- a/Source/devtools/front_end/ScriptsPanel.js
+++ b/Source/devtools/front_end/ScriptsPanel.js
@@ -294,6 +294,8 @@ WebInspector.ScriptsPanel.prototype = {
this.sidebarPanes.callstack.setStatus(WebInspector.UIString("Paused on assertion."));
else if (details.reason === WebInspector.DebuggerModel.BreakReason.CSPViolation)
this.sidebarPanes.callstack.setStatus(WebInspector.UIString("Paused on a script blocked due to Content Security Policy directive: \"%s\".", details.auxData["directiveText"]));
+ else if (details.reason === WebInspector.DebuggerModel.BreakReason.Debug)
+ this.sidebarPanes.callstack.setStatus(WebInspector.UIString("Paused on a debugged function"));
else {
function didGetUILocation(uiLocation)
{

Powered by Google App Engine
This is Rietveld 408576698