Windows Store App Crashes

Posted on by admin
Windows Store App Crashes 7,5/10 3216 votes

I have created Application Insights resource in my azure account. After, I added the instrument key into my windows store app. I have configured Application insights for visual studio 2013. Source code as below,

  1. Ms-windows-store Purgecaches

Are you simulating an unhandled exception in your application, if so can you please take a look at the output windows in VS we are logging each event we are. From the list of Apps displayed on screen, click ‘Windows Store Apps’ and then press the ‘Next’ button. Now, the troubleshooter will troubleshoot every app within the Windows Store Applications and fix them in a jiffy. Solution 2: Restore Default Libraries Restoring the default libraries would resolve the Windows 10 Photos App crash issues.

Immediately

I want to track the crashes of my application. But crashes didn't get logged inside the portal. Details of the Users, Page Views, Sessions are shown. Apart from adding the instrument key, any other thing should I want to do? Please help.

Ms-windows-store Purgecaches

bhathiya.mbhathiya.m

2 Answers

are you simulating an unhandled exception in your application, if so can you please take a look at the output windows in VS we are logging each event we are sending to the backend in the output window or try capture in the events we are sending using fiddler.

also the recommended way to bootstrap the SDK is as follow: Panic! at the disco flac torrent lime.

Thanks,

Meni Zalzman [MSFT]

Meni ZalzmanMeni Zalzman

If you went with the config file approach (ApplicationInsights.config), then add the Add line to the TelemetryModules as shown:

This will enable automatic logging of crashes.

I don't know if this is the case, but after some testing it appears as if crashes are only logged in Release builds, this might have something to do with the Debug vs Release mode

Debug vs Release mode

Debug

If you build in debug mode, events are sent as soon as they are generated. If you lose internet connectivity and then exit the app before regaining connectivity, offline telemetry is discarded.

Release

Troubleshooter

If you build in release configuration, events are stored in the device and sent when the application resumes. Data is also sent on the application's first use. If there is no internet connectivity upon startup, previous telemetry as well as telemetry for the current lifecycle is stored and sent on the next resume.

BarnstokkrBarnstokkr

Not the answer you're looking for? Browse other questions tagged c#azurewindows-store-appsazure-application-insights or ask your own question.