Skip to content

Commit

Permalink
Use FBTrace.to (scoped logging
Browse files Browse the repository at this point in the history
  • Loading branch information
janodvarko committed Sep 21, 2012
1 parent c5b57bc commit 7a4e861
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extension/content/firebug/debugger/scriptView.js
Expand Up @@ -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

Expand Down Expand Up @@ -214,8 +216,6 @@ ScriptView.prototype = Obj.extend(new Firebug.EventSource(),

onBreakpointChange: function(event)
{
FBTrace.sysout("scriptView.onBreakpointChange " + this.skipEditorBreakpointChange);

if (this.skipEditorBreakpointChange)
return;

Expand Down
1 change: 1 addition & 0 deletions extension/defaults/preferences/tracingConsole.js
Expand Up @@ -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.