Exception Settings

The Exception Settings window displays the different exceptions that are available. If you open the window, you will see a list of exceptions and a checkbox next to each item. You can check a checkbox if you want the debugger to break that exception in Visual Studio, as shown in the following code:

Get Hands-On Object-Oriented Programming with C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.