未处理的异常检查器插件的Visual Studio [英] Unhandled Exception checker plugin for Visual Studio

查看:234
本文介绍了未处理的异常检查器插件的Visual Studio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够在编译的时候,要问任何给定的方法有什么可能的例外可能被调用它抛出。例外列表中应当包括对任何未捕获的异常可能在任何嵌套方法invokation抛出。 捕获的异常不应该被列入名单,我只关心例外可能泡到我自己的code。

I would like to be able, at compile time, to ask any given method what possible Exceptions might get thrown by invoking it. The list of Exceptions should include any uncaught Exception that might get thrown in any nested method invokation. Caught Exceptions should not be included in the list as I'm only interested in the Exceptions that might bubble up to my own code.

难道一个插件的Visual Studio与功能或类似的东西存在吗?

Does a plug-in for Visual Studio with that feature or something similar exist?

这将是巨大的,如果这个插件还能够帮助我的code中的文档。

It would be great if this plug-in were also able to assist in the documentation of my code.

编辑:
类似的问题:经过异常捕获在C#

推荐答案

其实,我只是发现了这个网站,它的红-Gate ,有一个名为异常猎人工具,其中pretty的太多做到这一点。

I actually just found the site, it's Red-Gate that has a tool called Exception Hunter, which pretty much does this.

不正确的:
我是 DevEx preSS 产品包括一个插件,可以做(像?)这一点。

Not right:
I am fairly certain one of the DevExpress products includes a plugin that can do (something like?) this.

这篇关于未处理的异常检查器插件的Visual Studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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