Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

JavaScript Debugger reloads sources

  • 6 svar
  • 3 har detta problem
  • 2 visningar
  • Senaste svar av 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?

Vald lösning

Alla svar (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

Vald lösning