6

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 iPhone).

Ozair Kafray
  • 13,351
  • 8
  • 59
  • 84
Jirapong
  • 24,074
  • 10
  • 54
  • 72
  • what is "VDO"? Have you not got any error handling in your app to capture the exception details? – Matt Lacey Nov 30 '10 at 11:09
  • Hi Matt, If i have device with me it should be just put a breakpoint but, I don't have device with me. – Jirapong Nov 30 '10 at 11:54
  • For now, I'm decided to go with self logging based on simple log class at http://stackoverflow.com/questions/228723/silverlight-logging-framework-and-or-best-practices – Jirapong Dec 01 '10 at 06:54
  • No sign on 7.1 Mongo to support this importance feature. – Jirapong May 25 '11 at 17:39

2 Answers2

7

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.
Francesco De Vittori
  • 9,100
  • 6
  • 33
  • 43
  • 1
    Thanks Francesco, This is what i think. The self manage log. But if you learn way that iPhone App generate the crash log and send back to developer with zero effort, you will ask same question as me. – Jirapong Nov 30 '10 at 11:55
  • so, far no crash log from OS built-in. so, this is the best answer. – Jirapong Dec 07 '10 at 02:08
  • Sending an email with the crash report is pretty much common practice now. – Ben Cull Jul 23 '11 at 02:17
  • You can try using [BugSense](http://www.BugSense.com) - free, with cool analytics supporting WP7, Android, iOS (I am one of the founders) – Jon Romero Oct 15 '11 at 04:01
5

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.

djsolid
  • 385
  • 2
  • 10
  • 1
    If you are affiliated with this product we would like you to disclose this in your answers and in your profile. Thanks. – Kev Jan 19 '12 at 23:31
  • I am using vs2010 express for windows phone and therefor cannot install nuget. so I need the zip from https://www.bugsense.com/docs/windowsphone7 but that link is not working. – JP Hellemons Jan 15 '14 at 21:53