TheHurt
TheHurt

Reputation: 1620

How do I completely disable JavaScript errors using VS 2008 and IE

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) and Disable script debugging (Other) are 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.

Upvotes: 2

Views: 5681

Answers (2)

Nnp
Nnp

Reputation: 1853

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..

Upvotes: 2

Raj Kaimal
Raj Kaimal

Reputation: 8304

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

Upvotes: 1

Related Questions