How to force visual studio debugger to skip specific exceptions?

后端 未结 4 481
无人及你
无人及你 2020-12-17 16:12

I have client-server (Silverlight) app.

Some server code throws exceptions that I handle on client. When I debug - Visual Studion breaks on those exceptions and I ha

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-17 17:14

    Debug Menu -> Exceptions (Ctrl + Alt + E) -> Find.. type the exception name, then untick the check boxes.

    If it's your own exception, you can add it by clicking Add, select Common Language Runtime Exceptions and then putting in the fully qualified name of the exception. Then untick the boxes.

提交回复
热议问题