28 Sep 2020 01:49 PM - last edited on 17 Dec 2021 09:39 AM by MaciejNeumann
Hi,
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.
29 Sep 2020 10:23 AM
Hi!
Thanks for reaching out! It looks like you may have submitted a ticket as well?: https://support.dynatrace.com/supportportal/browse/SUP-56343
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:
I hope this helps. Please let us know if you have any questions and also if that works for you!
Thanks in advance,
Nick
29 Sep 2020 12:27 PM
Hi!
I tried detaching the debugger, and also tried it with release configuration. But it shows the same stack trace again.