搜索 | 用户支持

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

详细了解

JavaScript Debugger reloads sources

  • 6 个回答
  • 3 人有此问题
  • 8 次查看
  • 最后回复者为 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

选择的解决方案