调试与例外:如何解决“突破时抛出” [英] Debugging with exceptions: How to work around 'Break when thrown'
问题描述
我厌倦了清除Debugging-> Exceptions选项抛出
之前的中断,以处理正常的异常,然后设置抛出
选项来查找后续异常的源未正确处理。
我想要一种排除某些try块从抛出
时,与预处理程序指令或某些东西类似。我尝试录制一个宏,但它所做的只是打开调试 - >例外对话。
即使在更粗糙的粒子上,指定哪些方法也是很好的
$ b
这是一个管道梦想吗?
按Alt-Ctrl-e启动例外窗口。
指定您想要的异常忽略。
I'm getting tired of clearing the Debugging->Exceptions option Break when thrown
to get past an exception I handle properly, then setting the Break when thrown
option to find the source of a subsequent exception not handled properly.
I would like a way to exclude certain try blocks from Break when thrown
, with something like preprocessor directives or something. I tried recording a macro, but all it does is opens the Debugging->Exceptions dialogue.
It would be nice to specify, even at a coarser grain, which methods are exempt from Break when thrown
debugging.
Is this a pipe dream?
Push Alt-Ctrl-e to bring up the exceptions window.
Specify which exceptions you wish to ignore.
这篇关于调试与例外:如何解决“突破时抛出”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!