![](/img/trans.png)
[英]How can I prevent the debugger from entering my method when Exception is thrown?
[英]How can I change “Break When an Exception is Thrown” debugger behaviour from code
也许你可以尝试这样做
try
{
// ... <- your code here
}
catch (Exception e)
{
System.Diagnostics.Debugger.Break();
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.