views:

60

answers:

2

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)

When I step through the code, I get to the line where the exception it thrown, then it immediately jumps to timer_Tick.

When I create a new project and add this line to form_load: throw new System.Exception("oops!");

For x86 it crashes as expected. For x64 it doesn't crash.

Is there some way to get an application to actually throw from form_load on 64-bit?

A: 

Hello,

Did you ever figure out a fix or workaround? I'm running into the same issue.

Thanks, Joe

Joe Zamora
+2  A: 

Nevermind. Looks like this fell into the black hole of MS known bugs...

https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=357311&wa=wsignin1.0

Joe Zamora