[英]Visual Studio 2010 - Debugger is not executing current Javascript source code
I've never seen this before and I'm getting very frustrated. 我以前从未见过这种情况,我感到非常沮丧。 When I run the VS 2010 debugger, it seems to remember and run "old" Javascript code which is not there anymore.
当我运行VS 2010调试器时,似乎会记住并运行不再存在的“旧” Javascript代码。 When I step through the Javascript, I end up stepping through javascript function calls that are simply not in the code anymore (they once were but I've removed them.) I've cleaned, built, rebuilt, the app... I've closed VS altogether and re-opened it but VS is still executing the non-existent function calls.
当我逐步执行Javascript时,最终会逐步执行不再包含在代码中的javascript函数调用(它们曾经是,但是我将其删除了。)我已经清理,构建,重建了该应用程序……我完全关闭了VS,然后重新打开它,但VS仍在执行不存在的函数调用。 I've cleared the IE cache, refreshed the IE cache (Ctrl-F5.)
我已经清除了IE缓存,刷新了IE缓存(Ctrl-F5)。
The C# code is fine, its only the javascript that won't update. C#代码很好,它只是不会更新的javascript。 Any ideas?
有任何想法吗? b/c I'm running out of them.
b / c我快用光了他们。
By seeing your question,Cache clearance needed in browser. 通过查看您的问题,浏览器需要清除缓存。
Even if you remove the code in visual studio, the browser will have css and javascript or jquery files in cache, so clearing this might solve your problem.. then run visual studio, i guess you cant step into old code now. 即使您删除Visual Studio中的代码,浏览器也会在缓存中包含CSS和javascript或jquery文件,因此清除此问题可能会解决您的问题。然后运行Visual Studio,我想您现在无法进入旧代码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.