阅读背景:

什么时候.NET WinForms应用程序中的异常只是被吃掉而没有被捕获或冒泡到Windows异常?

来源:互联网 

In several places in our code, we notice that if running under debugger it'll show that there's an unhandled exception in the code, however if running outside the debugger it will just ignore the exception completely as if it were caught. We have an exception handler that pops up an error submit dialog that's hooked up to Application.ThreadException and AppDomain.CurrentDomain.UnhandledException And neither of those appear to be catching them either. We also log our exceptions and nothing appears in the log.In several places in our code, we notice that i




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: