admin管理员组文章数量:1312956
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.
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.
- Did you activate the Firebug console for the domain you are working on ? – Fabien Ménager Commented May 28, 2009 at 21:42
- Yes, it's localhost, and I deactivated and reactivated and still nothing. I'm going to re-install Firebug in the morning. – ProfK Commented May 28, 2009 at 22:16
3 Answers
Reset to default 3It 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.
本文标签: javascriptDebugging not working in FirefoxFirebugStack Overflow
版权声明:本文标题:javascript - Debugging not working in Firefox - Firebug - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741902401a2403943.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论