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->Debu开发者_如何转开发gging->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.
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..
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
精彩评论