Raygun supports a wide range of languages and platforms, one of which is Xamarin for iOS that allows developers to build iOS applications using .NET. By integrating the Raygun4Net provider into your Xamarin.iOS applications, exception details are sent to your Raygun dashboard if your application crashes while a customer is using it. Most of the time these will be .NET exceptions, but in some situations an exception may occur in the native Objective-C core of the application resulting in an NSException being thrown. Xamarin wraps these up in a MonoTouchException which Raygun will happily catch and send to your dashboard. This is great, but the stack trace from this type of exception is nothing to look at.

All you get is a message saying that the exception started from Main.cs, not where the exception actually occurred. Not the worlds most helpful stack trace!

We have recently updated the Raygun Xamarin.iOS support for this scenario to send the native Objective-C stack trace instead which can provide much more insight as to what the problem is.

#xamarin #ios #nsexceptions #xamarin.ios

Raygun for Xamarin.iOS: Support for NSExceptions
1.60 GEEK