How to make visual studio break only on unhandled exceptions?

Make sure you have Just My Code Enabled by going into Tools–>Options–>Debugger–>General–> Enable Just My Code. This will change your Debug–> Exceptions Dialog Box to show a CheckBox for User-unhandled Errors.

enter image description here

Leave a Comment