When you’re working with Visual Studio, you will always run into odd problems – this is one of them.
When working with Javascript, C# and VS you sometimes want to debug the Javascript directly in the IDE… but you get the silly:
One way around this (an easy, but dirty way) is to open up Internet Explorer, and go to tools (if you’re using Internet Explorer 8 and above you may need to press the ALT button to show the file menu) then click the ‘Advanced’ tab, and check ‘Display a notification about every script error’.
Then, when you get an error… it will pop up and ask whether you’d like to debug it. Follow the prompts and debug it in a new instance of Visual Studio. You will be able to see the breakpoint, and you’ll be able to use the built-in debugging features, like step in.
Tags: .NET, c++, Errors, Visual Studio