Visual studio 2010 does not break at the break point in javascript, I use InternetExplorer in debug mode, aspx page. I run the application with F5. I set the break point in the javascript code but the visual studio does not bre开发者_StackOverflow社区ak at the break point. Anyone meet this problem?
Thanks everyone....
Make sure you have Silverlight debugging disabled for that project, as per Mister Cook's answer: https://stackoverflow.com/a/4769167/110549
That was my issue.
This can happen if you have a previous cached version of your javascript code. In your browser window (ex. internet explorer), you can press CTRL + R and it should refresh any cached js or css files that the browser may be holding. I've made it a habit to refresh with every debugging session.
If you don't like doing this every time, you can always use a tool such as CSS Refresh, which pretty much does it for you and then some.
精彩评论