• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Dynatrace /
  • Dynatrace Open Q&A /
avatar image
Question by Suresh K. · May 12, 2020 at 07:18 AM · mobile monitoring mobileapp

Mobile crash stackTrace

Hi,

Is there document that describe how to analyse StackTrace of mobile app crash? We have seen number of mobile app crash reported by dynatrace but data captured in StackTrace is not in human readable form. For android traces I can see Exception and line number in few cases but not all and which is very inconsistent.

I am not able to understand how to make sense of this data.

What our team is looking for is Exceptions name and line number of code which is causing the exception/error.

Can anyone guide me how to make use the stackTrace to find the root cause? I have attached images from IOS crash problem.

Image 1


Image 2

Thanks

Suresh

ios-stacktrace.jpg (39.0 KiB)
ios-stacktrace-2.jpg (57.8 KiB)
Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Reply

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image
Best Answer

Answer by Patrick H. · May 12, 2020 at 07:38 AM

currently the Application (purple) frames can be made more readable by uploading symbol files - you can see the link to do so in the screenshots you added. Most important steps are:
• dowload dSYM files for the affected version from AppStore Connect
• process them with DTXDSSClient and upload them with that client or in the webUI

more details can be found here: https://www.dynatrace.com/support/help/how-to-use-dynatrace/real-user-monitoring/how-to-use-real-user-monitoring/mobile-and-custom-applications/upload-and-manage-symbol-files/

providing readable frames for system libraries is currently on the roadmap and will show readable lines for the system library frames then.

Comment

People who like this

0 Show 3 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Suresh K. · May 12, 2020 at 08:18 AM 0
Share

Thanks @Patrick H. I am not mobile app developer so I am trying to understand the whole concept. When I talk to my developer they don't know about Symbol files. Few queries

What is symbol file and how to generate this? Does it require development efforts .
From where we can download Symbol file and Progaurd file.
What level of detail I will get if we upload the symbol files? Does it give details of source code line where exception/error triggered

avatar image Thomas B. ♦ Suresh K. · May 13, 2020 at 08:44 AM 2
Share

When code is compiled, the names of methods, file names, line number are no longer readable. For Android an obfuscation process is common, this means that method names are made unreadable to prevent re-engineering of the application package and this is done with ProGuard.

To be able to go back to clean method names, file names and line numbers, mapping or symbol files are required. They are an output of the compilation process and in the case of iOS they can not be taken directly from the development machine, but must be downloaded from App Store Connect.

If those mapping or symbol files are uploaded to Dynatrace (this must be done every time a new version is released in the app stores of Google or Apple), then the part of the stack traces that is code from your application will be clearly readable (method name, file name, line number). Parts of system libraries might still be unreadable, in most cases they're not helpful anyway. So, yes, the source code line where exception/error is triggered will be visible.

avatar image Suresh K. Thomas B. ♦ · May 15, 2020 at 06:16 AM 0
Share

Thanks @Thomas B. this is really helpful.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

30 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Dynatrace Cordova Plugin Not working

How is defined by default the Real user identifier on Mobile Apps ?

Is there a way to change the certificate of the .apk from Dynatrace to "..." after uploading to Play Store?

Does Mobile App Develop Using Microsoft PowerApps supported by Dynatrace?

Mobile application monitoring from DynaTrace managed

Forum Tags

mobile monitoring dotnet iis chat kubernetes servicenow amazon web services feedback mysql mainframe application rules rest api cassandra dashboard oneagent sdk cmc waterfall chart application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo opentelemetry integrations activegate auto-detection high five award uem webserver usql iib test automation license ios news migration management zones ibm mq web services notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming resource javascript appmon ai availability tipstricks automation extensions diagnostic tools session replay permissions search davis assistant auto-update faq documentation problem detection http monitors easytravel apdex network docker tags and metadata cloud foundry google cloud platform synthetic monitoring lambda process groups account usability dynatrace saas gui paas openshift key user actions administration production user actions postgresql synthetic locations upgrade oneagent security Dynatrace Managed user management python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting performance monitoring NGINX action naming geolocation linux nam installation error reporting database mission control apache slo mobileapp RUM php azure purepath davis scripting aix nodejs android
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A