如何在try-catch中定位到错误行
调试->窗口->异常设置CLR exceptions 打勾,这样在调试时出现错误会跳转到错误行,而不是进入catch。
取消操作
链接:https://docs.microsoft.com/zh-cn/visualstudio/debugger/managing-exceptions-with-the-debugger?view=vs-2015&redirectedfrom=MSDN
作者:
在
调试->窗口->异常设置CLR exceptions 打勾,这样在调试时出现错误会跳转到错误行,而不是进入catch。
链接:https://docs.microsoft.com/zh-cn/visualstudio/debugger/managing-exceptions-with-the-debugger?view=vs-2015&redirectedfrom=MSDN
发表回复