Continuing in the Visual Studio debugger after an exception occurs

前端 未结 5 1216
星月不相逢
星月不相逢 2020-12-03 06:32

When I debug a C# program and I get an exception throwed (either thrown by code OR thrown by the framework), the IDE stops and get me to the corresponding line in my code.

5条回答
  •  隐瞒了意图╮
    2020-12-03 06:56

    Once you get an exception Visual Studio (or whatever IDE you might be using) will not let you go any further unless the exception is handled in your code.

    This behaviour is by design.

提交回复
热议问题