Visual Studio 2010 ASP application issues with debugging javascript

One of our Cad/Cam software partners recently implemented a javascript automation interface. It does not have an ide environment. Consequently I am using Visual Studio ASP application with HTM pages and external jscript files to debug the javascript for my application. I place the js code in external files and set references to them in an html file. Add one js function call on the html page to step into the js code.... work well most of the time. But a certain points after editing the js file (and or html file)...when I step into debug the file that actually is executed is the older version without the edits. Today I began getting errors on breakpoints. I added a new line of code to a js file... set a breakpoint on the line. When I step into debug i get an error "debug breakpoint is not valid  now executable code exist at this line javascript". However in the debugger the line is clearly in the js file. It appears the copy being debug is in a cache and is really the older version... any suggestions would be appreciated.

Really new to javascript and web development ...
guillorytAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
leakim971Connect With a Mentor PluritechnicianCommented:
>Is there a way for force ie to load a fresh copy for each session?

Appending a version number (?version=2011090901) each time force the browser to request the new version
0
 
leakim971PluritechnicianCommented:
What about (in bold) :
<script language="javascript" type="text/javascript" src="/path/to/your/code.js?version=2011090901"></script>
0
 
guillorytAuthor Commented:
0
 
guillorytAuthor Commented:
Is there a way for force ie to load a fresh copy for each session?
0
 
guillorytAuthor Commented:
thanks
0
All Courses

From novice to tech pro — start learning today.