How to break on custom exceptions in VS2015

2019-06-19 10:53发布

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?

1条回答
Melony?
2楼-- · 2019-06-19 11:09

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

查看更多
登录 后发表回答