oFB 1.2.0b4, FF 3.0 - "console is undefined" after page load

59 views
Skip to first unread message

Dimitar Christoff

unread,
Jul 11, 2008, 6:04:11 PM7/11/08
to Firebug
Hi all,

I hope this is an easy fix - i have a problem that started happening a
few days ago, basically I can no longer call upon the console.
functions from my web pages.

Firebug is running, it is enabled for all sites or a specific site
that I am using from. The console logs errors fine (eg, the "console
is undefined" goes there), you can use the js command line to call
console.log("foo"); and it would show it perfectly, etc. The problem
is, the console object is not available to the web pages anymore...
The

I don't think I have changed anything (although this is a cliché) - it
is driving me mad!

If I am unable to discover a fix for this i will be forced to
downgrade to FF 2 and FB 1.1 again - and i really like FF 3 so I would
rather it got back to the way it was before something got dodgy...

Thanks in advance for any ideas.

Colin Guthrie

unread,
Jul 24, 2008, 7:07:56 AM7/24/08
to Firebug
On Jul 11, 11:04 pm, Dimitar Christoff <christ...@gmail.com> wrote:
> Hi all,
>
> I hope this is an easy fix - i have a problem that started happening a
> few days ago, basically I can no longer call upon the console.
> functions from my web pages.

Ditto for me with FB 1.2.0b6 + FF 3.0.1.

It seems to me that it's happened since I upgraded to FF 3.0.1 :s

Col

John J Barton

unread,
Jul 24, 2008, 11:07:21 AM7/24/08
to Firebug
The fix may be easy, but we can't find it without a test case we can
run to show the problem. It never happens for me.

Soichi Hayashi

unread,
Aug 11, 2008, 1:10:02 PM8/11/08
to Firebug
I am having this issue as well on FF3.0.1 + FB1.2.0b7.

I believe I am having this issue only within onload() function. For
example, on JQuery, it errors out if I put console.log("hello") in $
(document).ready(), or on ExtJS, it errors out if I put it inside
Ext.onReady(). If I put it on the global namespace, it successfully
executes.

My question is, is this by design that I can not use console inside
Ext.onReady(function(){...});??

Thanks,
Soichi

John J Barton

unread,
Aug 11, 2008, 3:28:58 PM8/11/08
to Firebug

Soichi Hayashi

unread,
Aug 11, 2008, 4:23:49 PM8/11/08
to fir...@googlegroups.com
Ahh..

http://code.google.com/p/fbug/issues/detail?id=1014#c4
I am experiencing the exact same problem using ExtJS on localhost.
However, I noticed that 

Ext.onReady(function(){ console.log('foo'); })

results in an 'console undefined' error, but if I change it to:

console.log();
Ext.onReady(function(){ console.log('foo'); })

This fixed it.. I put console.log() on top of my main javascript file. So far it seems to correct the issue. Thanks!

Iveco

unread,
Sep 17, 2008, 11:45:29 AM9/17/08
to Firebug
Thanks,

I had the same problem. Console.log was undefined.

I am using Firefox 3.01, Firebug 1.3.0a1, ExtJS 2.2

The trick with an empty console.log first at the beginning of the
source fixed it.

I wasn't able to use console.log in Ext.onReady()

Thanks for your help.

Regards,

Iveco
Reply all
Reply to author
Forward
0 new messages