admin管理员组文章数量:1023868
I am starting to build a PhoneGap app and decided to use VS2012 as an editor/debugger because Eclipse & XCode don't do javascript debugging (or do they, maybe I missed something) and VS2012 has intellisense for js. Having copied all the html and js files into a VS2012 project, the code ran fine. But then I made an edit, and the debugger won't now stop at a breakpoint on the edited line - there is an error message " adifferent version of this script file has been loaded by the debug process" . It also says "for Windows Store Apps, use 'Debug-Refresh Windows app' - but this isn't a Windows Store App (well not yet anyway!) - the code appears to be running from a localhost cache that has the previous version of my source, even after rebooting the PC. Any idea what to do? Thanks in advance....
I am starting to build a PhoneGap app and decided to use VS2012 as an editor/debugger because Eclipse & XCode don't do javascript debugging (or do they, maybe I missed something) and VS2012 has intellisense for js. Having copied all the html and js files into a VS2012 project, the code ran fine. But then I made an edit, and the debugger won't now stop at a breakpoint on the edited line - there is an error message " adifferent version of this script file has been loaded by the debug process" . It also says "for Windows Store Apps, use 'Debug-Refresh Windows app' - but this isn't a Windows Store App (well not yet anyway!) - the code appears to be running from a localhost cache that has the previous version of my source, even after rebooting the PC. Any idea what to do? Thanks in advance....
Share Improve this question asked Dec 10, 2012 at 18:49 quilkinquilkin 1,4571 gold badge20 silver badges49 bronze badges1 Answer
Reset to default 6Ok, solved - just need to do a CTRL+F5 from the browser to reload the new code.
I am starting to build a PhoneGap app and decided to use VS2012 as an editor/debugger because Eclipse & XCode don't do javascript debugging (or do they, maybe I missed something) and VS2012 has intellisense for js. Having copied all the html and js files into a VS2012 project, the code ran fine. But then I made an edit, and the debugger won't now stop at a breakpoint on the edited line - there is an error message " adifferent version of this script file has been loaded by the debug process" . It also says "for Windows Store Apps, use 'Debug-Refresh Windows app' - but this isn't a Windows Store App (well not yet anyway!) - the code appears to be running from a localhost cache that has the previous version of my source, even after rebooting the PC. Any idea what to do? Thanks in advance....
I am starting to build a PhoneGap app and decided to use VS2012 as an editor/debugger because Eclipse & XCode don't do javascript debugging (or do they, maybe I missed something) and VS2012 has intellisense for js. Having copied all the html and js files into a VS2012 project, the code ran fine. But then I made an edit, and the debugger won't now stop at a breakpoint on the edited line - there is an error message " adifferent version of this script file has been loaded by the debug process" . It also says "for Windows Store Apps, use 'Debug-Refresh Windows app' - but this isn't a Windows Store App (well not yet anyway!) - the code appears to be running from a localhost cache that has the previous version of my source, even after rebooting the PC. Any idea what to do? Thanks in advance....
Share Improve this question asked Dec 10, 2012 at 18:49 quilkinquilkin 1,4571 gold badge20 silver badges49 bronze badges1 Answer
Reset to default 6Ok, solved - just need to do a CTRL+F5 from the browser to reload the new code.
本文标签: debugging javascript in VS 2012localhost cache has old codeStack Overflow
版权声明:本文标题:debugging javascript in VS 2012 - localhost cache has old code - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745584185a2157483.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论