本文介绍了在Visual Studio中调试时更好的访问异常过滤器的方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我厌倦了在Visual Studio中使用眼睛眩目,耗时的异常对话框来打开和关闭异常异常过滤器。我寻找一个Visual Studio命令来帮助从命令窗口自动化,但没有运气。

I'm tired of using the eye-squinting, time-consuming Exceptions dialog in Visual Studio to turn break-on-exception filters on and off. I looked for a Visual Studio command to help automate this from the Command window, but no luck.

有没有人有一种避免Debug-> Exceptions对话框的技术,访问其功能?

Does anyone have a technique for avoiding the Debug->Exceptions dialog yet get access to its functionality?

推荐答案

Wintellect大师之一(John Robbins)发布了关于与宏。它提供了一种很好的设置方法,而无需进入对话框。在我的机器上看起来有点慢...虽然没有比在这个对话框中找到一个特定的例外更慢。

One of the Wintellect gurus (John Robbins) posted about customizing exception handling with macros. It provides a nice way of setting those without going into the dialog. It seems a bit slow on my machine ... although no slower than going and hunting down a specific exception in that dialog.

这篇关于在Visual Studio中调试时更好的访问异常过滤器的方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-01 10:43