搜尋 Mozilla 技術支援網站

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

了解更多

JavaScript Debugger reloads sources

  • 6 回覆
  • 3 有這個問題
  • 2 次檢視
  • 最近回覆由 Scott

more options

The built-in JavaScript debugger seems to reload sources when viewing them. I'm working on a fairly old web application, and I'm unable to use the Firefox developer tools as a reload of the scripts (particularly inline scripts) results in the server sending a different response to the one which was originally sent.

Firebug does not exhibit this behavior - the Firebug script tab shows scripts as they were when the page was originally loaded.

Is there any way to prevent this behavior?

The built-in JavaScript debugger seems to reload sources when viewing them. I'm working on a fairly old web application, and I'm unable to use the Firefox developer tools as a reload of the scripts (particularly inline scripts) results in the server sending a different response to the one which was originally sent. Firebug does not exhibit this behavior - the Firebug script tab shows scripts as they were when the page was originally loaded. Is there any way to prevent this behavior?

被選擇的解決方法

所有回覆 (6)

more options

Do you get a "Loading..." briefly? This is what I got in version 32.

For now I would continue using Firebug, I asked in #webdev on IRC to see if I could get more info on this. Thank you for pointing it out.

more options

Yes, "Loading…" appears briefly before the content is shown.

more options

Do you think it's worth logging a bug at this stage?

more options

Scott, I think it would be a great feature request as it looks like since we both can reproduce it is expected behavior. I think the component in bugzilla is the webtools. The "file a bug" link will take you to a page to search for the right one.

I think that would get you a better idea of the scope of the feature. Sounds cool to me :-)

more options
more options

選擇的解決方法