How NOT to break on a certain exception?

In Visual Studio Windows I can select, on which exception the debugger must break and which exceptions just to skip.
How to do this on Visual Studio for Mac?
It seems, we can't tell the debugger NOT to stop on a certain exception.

Answers

  • ChrisHamonsChrisHamons USXamarin Team Xamurai

    This question is about Visual Studio for Mac, not Xamarin.Mac (SDK for programming against SDK). I'll move it to the right place.

    One hack that might help is Run -> New Exception Catchpoint and set the exceptions you don't want to see as Print a message and continue.

    You may be able to set all System.Exception exceptions to skip and then add another rule to break on your specific item. I have not tried this.

    In any case, it sounds like a reasonable feature request (https://visualstudio.uservoice.com/forums/563332-visual-studio-for-mac)

Sign In or Register to comment.