Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

Spletno mesto bo delovalo z omejenimi zmožnostmi, medtem ko na njem izvajamo vzdrževalna dela za vas. Če članki ne rešijo vaše težave in želite zastaviti vprašanje, naša skupnost za podporo čaka na vas na @FirefoxSupport na Twitterju in na /r/firefox na Redditu.

Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem

JavaScript Debugger reloads sources

  • 6 odgovorov
  • 3 imajo to težavo
  • 8 ogledov
  • Zadnji odgovor od 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?

Izbrana rešitev

Vsi odgovori (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

Izbrana rešitev