Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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

Избрано решение