English 中文(简体)
底部右下角的错误警告在使用Firebug时不显示。
原标题:
  • 时间:2009-04-20 22:00:27
  •  标签:

由于某种原因,Firebug在我本地主机开发中的右下角不再显示那个小红X图标。

Is there a setting that I might have somehow changed?

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

问题回答

In Firebug, click the dropdown next to the "Console" tab, and check "Enable console for Local Files".

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.

说实话,我不知道。但我之前遇到过Firebug的问题,重新安装约需要2分钟,通常可以解决问题。

Do you have anything like this in your javascript?

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

This will suppress any normal behavior of errors.

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





相关问题
热门标签