Debug -> Exceptions. If it isn't on the Debug menu, right-click in
the toolbar area, click on Customize, click on Debug in the left
panel, find Exceptions in the right, and drag it to the Debug menu (or
wherever you want it).
In the Debug -> Exceptions dialog, to stop on all exceptions check the
Thrown checkbox next to Common Language Runtime Exceptions. To only
stop for some exceptions, click on the + and choose the ones you want.
Those for which you check Thrown will stop in the debugger before the
exception handler gets control.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.