为什么调试器在Try Catch语句中出错? [英] Why is debugger breaking at errors in Try Catch statement?
问题描述
正如您从下面的快照中看到的那样,代码执行在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屋!