views:

104

answers:

2

I am trying to prevent VS from breaking on JS errors.

I have the following settings:

In IE, under Tools->Internet Settings->Advanced (tab)->Browsing Disable script debugging (Internet Explorer) is checked. Disable script debugging (Other) is checked.

In VS, under Debug->Exceptions->Common Language Runtime Exceptions JScript Exceptions (thrown and user-unhandled) are unchecked.

In VS, under Tools->Options->Debugging->Just-In-Time Script is unchecked.

There are some JavaScript errors that I just don't care about and it is driving me insane having to deal with them.

+1  A: 

Don't think you can do that. VS will auto enable the settings in IE when you run the page under debug (and will keep those settings as long as the IE window is open).

Obvious workarounds:

Set default browser to Firefox

Don't run in debug mode

Raj Kaimal
Unfortunately using FF as default and not running in Debug are not available options :(
TheHurt
+1  A: 

try This This is more prominent solution rather switching to firefox. i tried this and it worked for me like charm. check out alternative work around in same document if you dont want to choose silverlight tool..

Nnp
That workaround worked like a charm. Thanks!
TheHurt