How to force visual studio debugger to skip specific exceptions?

后端 未结 4 485
无人及你
无人及你 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:04

    See How to: Correct Run-Time Errors with the Exception Assistant

    Basically you can disable checkbox "Enable the exception assistant" under the Visual Studio menu:

      -> Debug 
      -> Options and Settings 
      -> Debugging
      -> General
    

    Also it could be that you've checked specific exception types to be handled so check it under the Visual Studio menu:

     -> Debug
     -> Exceptions
    

提交回复
热议问题