Export to GitHub

fbug - issue #2861

Allow console messages to be filtered by type like the net panel


Posted on Feb 23, 2010 by Massive Horse

What steps will reproduce the problem? 1. Start webpage which outputs a lot of console messages of different types (log,warn,error). 2. Try to find all error messages in the list, which requires scrolling throught the complete list.

What is the expected result? What do you see instead? I'd like a filtering mechanism by type, so I can see only error messages (or warn or ...). E.g. the development console in Chrome Developers Tools has a row of buttons (All,Errors,Warnings,Logs) which works quite well.

Which version of Firebug? (more specific than 'latest' please): 1.5.0 Which version of Firefox? 3.5.8 On what operating system? Ubuntu 9.10 (karmic)

Comment #1

Posted on Feb 23, 2010 by Quick Elephant

Open the Console mini menu and set the option you wish.

Comment #2

Posted on Feb 23, 2010 by Massive Horse

There are no options for what I want. Maybe my explanation wasn't clear:

in JS, I use:

console.error('some message'); console.warn('some message'); console.info('some message'); console.debug('some message');

I want to be able to filter the console, to only show the output from console.error calls, or from console.warn calls. In the case of the error messages, I'd also like to see the javascript errors (if enabled in the menu). Same for warn.

Comment #3

Posted on Apr 8, 2010 by Quick Elephant

(No comment was entered for this change.)

Comment #4

Posted on Apr 28, 2010 by Happy Giraffe

I created a test case for this. What Hendrik is meaning is a filtering options like in the net panel. Changing the options via the mini menu completely turns of tracing the specific types of messages. A filter like in the net panel would just hide other messages than the specified one, but not stop tracing them.

Attachments

Comment #5

Posted on Apr 28, 2010 by Swift Cat

I'd like to have all of the console options on the toolbar as net panel does.

Comment #6

Posted on May 20, 2010 by Happy Giraffe

Note, that my test case is just covering messages, but of course there should also be filtering options for profiling entries and XHRs and also other types of console entries like tables created through the new console.table().

Comment #7

Posted on Jun 8, 2010 by Massive Wombat

(No comment was entered for this change.)

Comment #8

Posted on Jul 9, 2010 by Happy Giraffe

(No comment was entered for this change.)

Comment #9

Posted on Jul 9, 2010 by Happy Giraffe

Implemented in r7292. Against my comment 6 I decided to just show message type filters for the moment not to flood the Panel Toolbar. Though this can (and should) be enhanced in the future by implementing a better UI + the ability to toggle several message types (which I already prepared). Probably this could be done by using a menu like the Panel Selector.

Comment #10

Posted on Jul 11, 2010 by Happy Giraffe

Changed the filtering in r7293 to be able to combine it with the search feature and to make it even a bit faster.

Comment #11

Posted on Jul 14, 2010 by Quick Elephant

This is one of 16 issues fixed in Firebug 1.6a17. Please try it and let us know, http://getfirebug.com/releases/firebug/1.6X

Comment #12

Posted on Jun 5, 2012 by Helpful Wombat

(No comment was entered for this change.)

Comment #13

Posted on Jun 11, 2013 by Helpful Wombat

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-Enhancement console 1.5 Test-case-available fixed-1.6a17 fixed-1.6-a17