搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

firebug script debugger not showing current page javascript sometimes

  • 2 回覆
  • 5 有這個問題
  • 17 次檢視
  • 最近回覆由 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!!!