Thursday, 15 August 2013

Detecting when a windows store app crashes

Detecting when a windows store app crashes

Is there any smart way to detect when an application has crashed? I want
to use this information to be able to send a crash report to our servers.
The only thing I've found is checking:
LaunchActivatedEventArgs args.PreviousExecutionState ==
ApplicationExecutionState.Terminated
When the application is started next time, however can I be sure that the
applicatoin crashed just because it has "Terminated" execution state? How
else can I check this?

No comments:

Post a Comment