5

I'm debugging a JavaScript function in a web application using Visual Studio 2012. After I edit the file, when the application is run, it doesn't use my modified version. Instead it uses the old, outdated version.

If I set a breakpoint in the beginning of the function, for instance, the breakpoint is removed as soon as the script (let's say, myScript.js) is loaded; if I insist settting it again, a new window is opened (myScript.js [dynamic]) with the outdated code and the breakpoint is set.

Why my changes keep being ignored?

Doug
  • 6,322
  • 3
  • 29
  • 48

1 Answers1

3

A Ctrl+F5 ought to be enough to force your browser fetch everything afresh from the server... the browser does cache some of these things.

Karl Anderson
  • 34,606
  • 12
  • 65
  • 80
G2Mula
  • 184
  • 1
  • 1
  • 9