Showing results for 
Show  only  | Search instead for 
Did you mean: 

Crash analysis Stack trace for a Xamarin Forms app



I have a Xamarin forms app integrated with Dynatrace. When a crash occurs and is logged in Dynatrace, the stack trace for the Android app shows the Xamarin stack trace, ie., the file, method, etc, where the crash occurred.

However, for the iOS app, the stack trace consists of only the device stack trace as shown below:

(null) 0x0 + 4669050827
(null) 0x0 + 4782128647
(null) 0x0 + 4780711067
(null) 0x0 + 4669126291
libdispatch.dylib _dispatch_call_block_and_release + 12
libdispatch.dylib _dispatch_client_callout + 8
libdispatch.dylib _dispatch_main_queue_callback_4CF + 1042

I would like to know if there is any reason why the iOS app crash does not give the Xamarin stack trace. Is there any way I can configure Dynatrace to show the Xamarin stack trace for an iOS app crash as well.

Thank you.


Dynatrace Helper
Dynatrace Helper


Thanks for reaching out! It looks like you may have submitted a ticket as well?:

It looks like you are using the debugger as the exception is caught via the IDE. The iOS agent will not send the crash if the debugger is attached. My suggestion would be one of the two following things:

  • Detach the debugger and test again
  • Build with the release configuration as this will also detach the debugger.

I hope this helps. Please let us know if you have any questions and also if that works for you!

Thanks in advance,



I tried detaching the debugger, and also tried it with release configuration. But it shows the same stack trace again.

Featured Posts