Uploaded dSYM, but no usable stack trace

sdswebteam

Posted on
Jul 10 2014

We're using Raygun in a Xamarin iOS project. We published the app to our test users via TestFlight (testflightapp.com) and started noticing Raygun report errors. I then went into XCode on my MAC, built an Archive in Release mode and uploaded that to Raygun.

Unfortunately, we're still not seeing any usable stack trace information. Any help would be appreciated.


Jason Fauchelle

Raygun

Posted on
Jul 10 2014

Hello

Sorry about this. Unfortunately Raygun4Net.Xamarin.iOS does not currently provide enough information about native iOS exceptions for a dSYM to be of any use. (It is great for managed Xamarin exceptions though). The Stack trace information that Xamarin provides alone can not be used against a dSYM. What we need is an iOS generated crash log to symbolicate. Last time we checked, this was not possible to acquire from managed Xamarin code.

We do however have plans to create a hybrid between our native iOS provider (which does support dSYMs) and our existing managed Xamarin provider. This should allow us to grab the iOS generated crash log. (Though even then, it probably can only be acquired after the app has been run again after it has crashed). This is currently quite high in the priority list which we plan to work on within the next 3 weeks, so I'll get back to you with how it goes.

-Jason Fauchelle


LifeCycle Consulting

Posted on
Aug 11 2014

Jason, Thanks for the update on this, can't wait to get hold of the extra details it will give to help troubleshoot issues! - Ian


Jason Fauchelle

Raygun

Posted on
Sep 22 2014

Hi Den,

Thanks for the link, we'll certainly have a look into it.

As an update, Raygun for Xamarin.iOS will soon be able to detect native exceptions that it previously couldn't. Doing this has not provided line numbers for managed exceptions (we'll continue looking into the possibilities here), but NS exceptions will have more readable stack traces.

I'll update this thread when this has been released.

-Jason Fauchelle


Jason Fauchelle

Raygun

Posted on
Oct 10 2014

Hi all,

The beta for what we've been working on here is available now. The download link and more information can be found on this blog: https://raygun.io/blog/2014/10/report-native-ios-errors-new-beta-xamarin-provider/

This is capable of reporting native iOS exceptions. Also, NS exceptions that were previously handled in the managed code are now detected in the native binding and sent to Raygun as a native iOS report. All native iOS reports sent to Raygun can be symbolified with a dSYM to get the stack traces.

Unfortunately there was no additional information such as line numbers that we were able to extract from standard managed exceptions - but we are bound to have another look into this in the future.

Let us know any feedback you have about this beta.

-Jason Fauchelle


Reply