Project Rider - Break on Exception

我是研究僧i 提交于 2019-12-04 02:28:56

Break on specific exceptions is not implemented yet. Now Rider can break only on unhandled exceptions. Will come soon.

There are two ways to do this.

Break on all exceptions

Go to Run | View Breakpoints.... Click the green + icon. Select Stop on all .NET exceptions.

You can then modify the breakpoint:


Break on a specific exception

Either use:

  • Run | Stop on exception...
  • Run | View Breakpoints.... Click the green + icon. Select .NET exception breakpoints.

Either approach will give you the following UI where you can search for an exception type:

To manage the settings, use the Breakpoints dialog.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!