This project has moved and is read-only. For the latest updates, please go here.

SendException

Jun 19, 2013 at 2:58 PM
Hi is there something I should take care of when making use of SendException?

I would like to send as much exception data to it that I have. Like a combined string of the Message and StackTrace of the exception. Specially in the Fatal situation.
Jun 20, 2013 at 5:12 PM
If you're using the EasyTracker (the default way to talk to the SDK), you can simply enable exception tracking by making sure analytics.xml has this flag enabled.
<reportUncaughtExceptions>false</reportUncaughtExceptions>
This will cause UEs to get caught and dispatched with the following information:

For Win8:
UnhandledExceptionEventArgs.Message
For WP:
ApplicationUnhandledExceptionEventArgs.ExceptionObject.ToString()

In both cases, the message and stacktrace is included in this information (don't let the Win8 property name fool you, the stacktrace is included).
Jun 25, 2013 at 10:15 AM
Thanks Tim,

I'm using this functionality now, and it works perfectly.

Best,

Mark Monster