为什么调试器在Try Catch语句中出错? [英] Why is debugger breaking at errors in Try Catch statement?

查看:124
本文介绍了为什么调试器在Try Catch语句中出错?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如您从下面的快照中看到的那样,代码执行在Try Catch中遇到错误时会中断,我无法弄清楚原因。我查看了所有的调试设置,但没有看到任何可能控制此行为的明显设置
并在Try Catch中遇到错误时保持执行停止。


感谢您提供的任何帮助或指针正确的方向!

解决方案

嗨朋友, 


转到调试 - > Windows - >例外设置 



并选择下面显示的框: 




请尝试一下,让我知道结果。 




祝你好运, 


Fletch



As you can see from the snapshot below the code execution is breaking when it encounters an error within a Try Catch and I cannot figure out why. I have looked over all the debug settings but do not see any obvious setting that might control this behavior and keep execution for stopping when an error is encountered within a Try Catch.

Thanks for any assistance or pointer you can give to head me in the right direction!

解决方案

Hi friend, 

Go to Debug -> Windows -> Exception Settings 

And select the box shown below: 

Please try it and let me know the result. 

Best regards, 

Fletch


这篇关于为什么调试器在Try Catch语句中出错?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆