【发布时间】:2010-12-21 07:36:44
【问题描述】:
我在 64 位中遇到过这个奇怪的静默异常问题。 是什么导致了这种行为? 我想了解为什么会发生这种情况以及推荐的解决方案是什么?
主要:
try
{
Application.Run(new Form1());
}
catch
(Exception ex)
{
MessageBox.Show("Error");
}
private void Form1_Load(object sender, EventArgs e)
{
throw new Exception("oh no!");
}
【问题讨论】:
-
Unfortunately where is nothing that the Visual Studo team can do to address this, it is the result of operating system design. All feedback regarding this issue should be addressed to the Windows team; however the Windows team considers this to be the "correct" operating system design, and considers the x86 behavior to be "incorrect"哈哈。微软不错。 请就此与其他团队联系,但他们不会修复它,因为他们认为第三团队实施不正确。 -
实际上第二篇文章对问题和解决方案都进行了很好的深入解释。
-
显然有一个修补程序(链接到您提供的链接中)。
标签: c# exception-handling 64-bit