例外忽视的Form_Load用于基于x64 [英] Exceptions ignored in form_load for x64
问题描述
当我在我的C#应用程序从抛出的Form_Load异常不工作时,该平台是64位。 (它作为预期86)
When I throw an exception from form_load in my C# application it doesn't work when the platform is x64. (it acts as expected for x86)
当我通过code步骤,我得到的地方,除了它抛出的线,然后立即跳转到timer_Tick。
When I step through the code, I get to the line where the exception it thrown, then it immediately jumps to timer_Tick.
当我创建一个新项目,并添加此行的Form_Load: 抛出新的System.Exception(哎呀!);
When I create a new project and add this line to form_load: throw new System.Exception("oops!");
对于x86崩溃预期。对于x64它不会崩溃。
For x86 it crashes as expected. For x64 it doesn't crash.
有没有办法让一个应用程序实际上是从的Form_Load扔在64位?
Is there some way to get an application to actually throw from form_load on 64-bit?
推荐答案
没关系。看起来是这样掉进了黑洞的MS已知的bug ......
Nevermind. Looks like this fell into the black hole of MS known bugs...
<一个href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=357311&wa=wsignin1.0" rel="nofollow">https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=357311&wa=wsignin1.0
这篇关于例外忽视的Form_Load用于基于x64的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!