Go to Google Groups Home    Firebug
Re: "console is not defined" with Firebug 1.2.0b1 and Fx3.0 RC1

John J Barton <johnjbar...@johnjbarton.com>

In 1.2 the console is not added to the page unless you turn on Script
debugging.  Try that and let us know.

On May 22, 6:35 am, Mark <mark.cru...@gmail.com> wrote:

> I'm developing a remote XUL application and use console.log()
> extensively. Today I upgraded my Firebug 1.1 installation to 1.2b1 and
> now get a "console is not defined" error whenever the code hits a
> console.log() call.

> Within Firebug I can manually enter "console = _firebug;" to get
> things working again - but that doesn't persist through a page
> reload.

> Based on a search of this group I've also tried calling
> window.loadFirebugConsole() on my page, but that gives a "not a
> function" error. From what I've read it shouldn't be necessary on Fx3
> anyway.

> I've tried disabling all my extensions, but that had no effect. I've
> also tried opening Firefox with just a single HTML page (rather than
> my remote XUL app), then calling console.log() within the console
> itself, but that also gave the "console is not defined" error.

> Have I missed something else that I need to do to initialise the
> console on Fx3? If not, has anyone else experienced this issue and
> found a workaround?