William Thomas Waller
William Thomas Waller

Reputation: 697

How to break on custom exceptions in VS2015

I have several custom exceptions that are thrown throughout my application. Besides just setting a breakpoint in the constructor, is there anyway I can break on these exceptions in the same way I do with native exceptions from Exception Settings?

Upvotes: 11

Views: 3241

Answers (1)

Joshua Stevens-Stein
Joshua Stevens-Stein

Reputation: 428

You can add Exceptions in to the Exception Settings Window. Add it there (probably to Common Language Runtime Exceptions), then mark to break on it

Upvotes: 15

Related Questions