Does FirePhp work well with FireBug 1.12.0?

1.2k views Asked by At

I used firephp in my project well before yesterday.

After I upgrade Firefox to version 23.0.1 , the FireBug extension is upgraded to version 1.12.0 automatically, and I find firephp do not show the detail data in the console.

It still shows the brief data. I can not unfold it to see the detail.

I guess firebug changed the data structure, and the firephp need to be upgrade.

4

There are 4 answers

7
Tom On

If you are impatient type you can do a quick fix yourself.

  • Open the FireBug xpi file with your favourite archive/zip manager. For linux users, you should find the file here:

    ~/.mozilla/firefox/[unique-id].default/extensions/[email protected]

  • Navigate to /content/firebug/console/ in the archive/zip manager and open consolePanel.js

  • Got to line 911 (this may differ slightly for minor version revisions). It should look like this:

    this.filterMatchSet.push(group);
    
  • Add this before that line:

    if (typeof this.filterMatchSet == 'undefined')
    {
        this.filterMatchSet = [];
    }
    
  • Save your change to the archive and restart FireFox

2
duzymaju On

Firefox 23.0.1 + Firebug 1.12.0 + FirePHP 0.7.2 - the same versions set and the same problem... I checked FirePHP forum and there is a topic about this issue. Add-on author wrote there

Will take a look in early September after I return from vacation. Thanks for reporting this issue.

so in few weeks problem will be resolved I hope. :)

0
cweiske On

The problem is fixed with Firebug 1.12.3.

0
GazB On

It appears that this issue with firePHP isn't being fixed any time soon and firebug has been updated again. Tom's answer does work but as he only specified a line number that part doesn't work in the newer version of firebug as the line numbers doesn't line up with the old ones SO here is how to find the correct place to insert Tom's code:

Follow Tom's answer here: https://stackoverflow.com/a/18530316/769294

Then when you have the consolePanel.js open you want to find this function:

filterLogRow: function(logRow, scrolledToBottom)
{
    if (this.matchesFilter(logRow))
    {
        // Mark the groups, in which the log row is located, also as matched
        for (var group = Dom.getAncestorByClass(logRow, "logRow-group"); group;
            group = Dom.getAncestorByClass(group.parentNode, "logRow-group"))
        {
            Css.setClass(group, "contentMatchesFilter");
            // #################################################################
            // Add This line here
            // #################################################################
            if (typeof this.filterMatchSet == 'undefined') { this.filterMatchSet = []; }
            // #################################################################
            this.filterMatchSet.push(group);
        }
    }

    .......
},

As you can see I have added some comments around the line you need to add (from Tom's answer) and you can see where it needs to go.

Hope this helps for all the updates to firebug in the near future until firePHP is fixed. :)