Crash Log on Windows Phone 7 device
I don't have a WP7 device yet. Everything is functional in My App on a Simulator, but when my customer test it, app does not function at all. e.g. VDO is not playing.
Is there a way to get a crash log from Windows Phone 7? (like iP开发者_运维技巧hone).
You can easily create your own crash report. Basically this is what you have to do:
- In your App class add an handler for the UnhandledException event
- inside the handler prepare a log with everything you need (stacktrace, memory allocated, etc.)
- use an email composer Task to send the report.
You can also check BugSense which is a cross-platform(iPhone,Android and Windows Phone) tool that collects and analyzes crash reports from mobile apps.
Disclaimer: I have developed the WP7 plugin.
精彩评论