I'm trying to debug an extJS based JavaScript form in Firefox 3.0.8, with Firebug, but none of my debugging statements are working. console.log
produces the error console is not defined
in the console. The debugger
statement just doesn't work.
views:
876answers:
4
A:
Did you activate the Firebug console for the domain you are working on ?
Fabien Ménager
2009-05-28 21:42:44
Yes, it's localhost, and I deactivated and reactivated and still nothing. I'm going to re-install Firebug in the morning.
ProfK
2009-05-28 22:16:26
+1
A:
Are you using Firefox 2.x ?
Call loadFirebugConsole() to load the logger explicitly before you try to log to it.
A:
You can try window.console.log(). Works in IE, may work FF3 in your case.
rubayeet
2009-06-04 11:33:55
A:
It might be that you have another Firefox extension installed which messes up for Firebug's console. I installed "HttpWatch Basic" for instance and it broke console.log() .. Disabled HttpWatch and everything was fine again.
bjornbjorn
2010-09-21 13:39:50