如何在visual studio 2010调试器中排除用户定义的异常? [英] how do I exclude user defined exceptions in the visual studio 2010 debugger?

查看:103
本文介绍了如何在visual studio 2010调试器中排除用户定义的异常?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Web应用程序,我附加了visual studio调试器。我试图找到一个特定的问题,它不断停止例外,我不在乎。



我已经设法通过转到 Debug->异常取消选中.NET异常。但是,当我从第三方工具添加异常的名称时,我不能阻止它们停止这些异常。



我做错了什么?例外对话框没有添加异常的地方,如果他们不希望你添加自己的异常对话框,那么是吗?

解决方案

p>在列表中添加异常时,您必须添加Exception的全限定名称(即包括命名空间)。


I have a web application where I attach the visual studio debugger. I am trying to locate a specific problem and it keeps stopping on exceptions I do not care about.

I have managed to uncheck the .NET exceptions by going to Debug->Exceptions. However when I add the name of the exception from the third party tool, I cannot keep it from stopping on those exceptions.

What am I doing wrong? The exceptions dialog wouldn't have a place to add exceptions if they didn't expect you to add your own, would it?

解决方案

You must add the fullly qualified name of the Exception (ie, include the namespace) when you add an exception to the list.

这篇关于如何在visual studio 2010调试器中排除用户定义的异常?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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