简体   繁体   中英

Debugging not working in Firefox - Firebug

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.

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.

Are you using Firefox 2.x ?

Call loadFirebugConsole() to load the logger explicitly before you try to log to it.

You can try window.console.log(). Works in IE, may work FF3 in your case.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM