Skip to content
Browse files

Use FBTrace.to (scoped logging

  • Loading branch information...
1 parent c5b57bc commit 7a4e86123daa872782583ca86ee944b73f9825c0 @janodvarko janodvarko committed Sep 21, 2012
View
4 extension/content/firebug/debugger/scriptView.js
@@ -21,6 +21,8 @@ var Cu = Components.utils;
// Introduced in Firefox 8
Cu["import"]("resource:///modules/source-editor.jsm");
+FBTrace = FBTrace.to("DBG_SCRIPTVIEW");
+
// ********************************************************************************************* //
// Source View
@@ -214,8 +216,6 @@ ScriptView.prototype = Obj.extend(new Firebug.EventSource(),
onBreakpointChange: function(event)
{
- FBTrace.sysout("scriptView.onBreakpointChange " + this.skipEditorBreakpointChange);
-
if (this.skipEditorBreakpointChange)
return;
View
1 extension/defaults/preferences/tracingConsole.js
@@ -73,3 +73,4 @@ pref("extensions.firebug.DBG_BTI", false); // Browser Tools Interfa
pref("extensions.firebug.DBG_DOMTREE", false); // DomTree Widget
pref("extensions.firebug.DBG_GRIPCACHE", false); // Cache for remote objects - grips (comes over RDP)
pref("extensions.firebug.DBG_SELECTOR", false); // Selector side panel (in the CSS panel)
+pref("extensions.firebug.DBG_SCRIPTVIEW", false); // Script view is responsible for displaying JS source.

0 comments on commit 7a4e861

Please sign in to comment.
Something went wrong with that request. Please try again.