找出第一次机会异常的根本原因

时间:2012-03-30 08:46:15

标签: asp.net-mvc visual-studio exception

我在内置VS网络服务器上运行MVC应用程序。但是,每次浏览页面时,Visual Studio中的输出选项卡都会显示很多异常。

A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll
An exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll but was not handled in user code
A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll
An exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll but was not handled in user code
A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll
An exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll but was not handled in user code

我已尝试检查“调试菜单”下“VS异常”选项卡的所有throw / usercode复选框。这是不行,没有抓到任何东西。

我如何找到它的根本原因?我想看看stacktrace来检查我的托管代码是否导致它。

0 个答案:

没有答案