Why would Silverlight be crashing in Release but not in Debug mode?

Posted by Edward Tanguay on Stack Overflow See other posts from Stack Overflow or by Edward Tanguay
Published on 2010-06-13T05:50:10Z Indexed on 2010/06/13 6:02 UTC
Read the original article Hit count: 331

I have a Silverlight App that has worked well in Debug and Release modes for weeks.

It still works well in Debug mode.

However, now when I run it in Release mode, it starts, shows me the screen, loads the data, then hangs, and the browser (Firefox) closes automatically. I've tried other browsers and each of them crashes, Chrome says "The Silverlight Plug-In has crashed" for instance.

Here are the last lines of Output that I get:

'firefox.exe' (Silverlight): Loaded 'System.Windows.Controls'
'firefox.exe' (Silverlight): Loaded 'System.Windows.Controls.Toolkit'
'firefox.exe' (Silverlight): Loaded 'C:\Program Files\Microsoft Silverlight\4.0.50524.0\en-US\mscorlib.debug.resources.dll'
'firefox.exe' (Silverlight): Loaded 'C:\Program Files\Microsoft Silverlight\4.0.50524.0\en-US\System.Windows.debug.resources.dll'
The program '[1120] firefox.exe: Silverlight' has exited with code -2147023895 (0x800703e9).

How can I get more information about what is happening at the point of crash in Release mode that is not happening in Debug mode?

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about crash