views:

132

answers:

1

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?

+2  A: 

This seems relevant to your issue. From the update at the bottom, it seems that

the display string used for the debugger triggered a program path which was not executed otherwise, and there it entered in an endless loop

luvieere
thanks, that allowed me to put a breakpoint at the right spot and see what it was doing, which led to this question: http://stackoverflow.com/questions/3031869/how-to-handle-not-enough-isolatedstorage-issue-deep-in-data-loader
Edward Tanguay