简体   繁体   中英

Error warning in bottom right corner not showing with Firebug

For some reason firebug is not showing that litte red 'X' icon in the bottom right corner anymore in my localhost development.

Is there a setting that I might have somehow changed?

I purposely make an error in my .js file and I get nothing!

在 Firebug 中,单击“控制台”选项卡旁边的下拉菜单,然后选中“为本地文件启用控制台”。

Many asynchronous callbacks "swallow" errors. That is, any error can occur in the callback and it won't show in Firebug or any just-in-time debugger I know of. However, with "Break on All Errors" on, Firebug will stop. Look for that in the Script tab options.

Are you using TrimPath? It can also "swallow" errors.

Is the Firebug icon yellow or grey? If it is grey, then Firebug is turned off (or all the panels are disabled).

To be honest, I have no idea. But I have run into firebug issues before and reinstalling takes about 2 minutes and usually fixes the problem

Do you have anything like this in your javascript?

window.onerror = function(){
    return true;
};

This will suppress any normal behavior of errors.

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