为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

firebug script debugger not showing current page javascript sometimes

  • 2 个回答
  • 5 人有此问题
  • 3 次查看
  • 最后回复者为 iqworks

more options

When i load the page i want to debug. i click the firebug icon and firebug appears ok. i click the script tab and i am asked to "Reload to see all sources". I do the reload and most of the time i see the inline javascript and the html of the currently loaded page. There are times when i go through this process and i DONT see the current page html and inline javascript, instead, i see most of the other javascript FILES associated with the loaded page. i cannot figure out how to get my currently loaded page and its inline javascript to appear again. i clear the cache, restart firefox, reset options?

Also, when i click the list to see the javascript files and pages, I dont see my currently loaded page listed. But, when i AM able to "Reload to see all sources" and my current page html and inline javascript appears, THEN it is included in the list. 

Not sure what i need to do here?

When i load the page i want to debug. i click the firebug icon and firebug appears ok. i click the script tab and i am asked to "Reload to see all sources". I do the reload and most of the time i see the inline javascript and the html of the currently loaded page. There are times when i go through this process and i DONT see the current page html and inline javascript, instead, i see most of the other javascript FILES associated with the loaded page. i cannot figure out how to get my currently loaded page and its inline javascript to appear again. i clear the cache, restart firefox, reset options? Also, when i click the list to see the javascript files and pages, I dont see my currently loaded page listed. But, when i AM able to "Reload to see all sources" and my current page html and inline javascript appears, THEN it is included in the list. Not sure what i need to do here?

所有回复 (2)

more options

OK, i think i found one answer - my current page had an error in its inline javascript. Once I fixed the error and called up firebug and reloaded the current page, i could see my current page show up in the script debugger list and panel. If there is anyway i can configure the firebug debugger to DEBUG my current page when i initially call it up in the firebug debugger with an inline error, that would be great. Instead, it just dosnt display it and dosnt tell you why. Funny, it displays so many messages and options for debugging everything else. Must be some configuration i am not seeing. Or is this a bug?

more options

Found my answer. Next time my current page does not display, or I have issues calling up the current page, i need to "Ctrl/Shift/J". When i did this, the Error console appeared and inside of it I could see the error clearly spelled out. Thanks firebug!!!