Welcome to Mobile Crash Analysis!
Here are a few ideas of great things you can do with our Crash Analysis functionality.
Where do most crashes occur in my app?
- Select the dropdown menu GROUP CRASHES BY and choose ‘Last Interaction’.
- A list of Interactions now appear on the left side. The first Interaction on the list is the most common last screen viewed before a crash.
- Note: To make the screen name more recognizable to a wider audience, consider renaming the Interactions (Android API, iOS API) that New Relic auto-instruments.
- Note: If there is a key screen that we are not capturing by default, you can instrument it by creating a custom interaction. (Android API, iOS API)
- Click this top Interaction to add this filter. It will now appear in the top bar.
- Click GROUP CRASHES BY and group by Crash Location File to find which files are associated with these crashes. The file most commonly associated will be at the top of the list.
- Which method in the file is the culprit?
- Click the top file in the list to add it as a filter.
- Click GROUP CRASHES BY and group by Crash Location Method.
- Click the top method to add this as a filter.
- This looks like a great place to dive into the stack traces! Click the first item in the crash table (lower right) to navigate to the Crash details page for occurrences that match the filters you’ve defined.
A user or store just experienced a crash! How can I find the details?
If you’re already capturing a custom attribute like user id or store id:
- Select FILTER dropdown on the top bar.
- Search for the user/store id associated with a recent crash, and select it.
- You will see, for example, that a particular user experienced the same crash X times.
- If not already, change your GROUP CRASHES BY to be Crash Location.
- Click the top Crash Location to add this filter.
- Now remove the filter for the specific user/store id from the top bar.
- Change your GROUP CRASHES BY to be user/store id to see the longer list of users/stores affected by the same crash.
- Select the top crash in the crash list table to navigate to the crash details page.
Information to view on the details page:
- Review the bar chart showing the common OS versions and Device types associated with this crash.
- Expand the Interaction trail and review the stack trace.
- Click through multiple occurrences to understand the different paths users took to arrive at the same crash, which can be useful information to debug your crash.
- Review the full list of attributes (including any custom attributes).
- Navigate with link “Back to the Crash analysis” (link on upper left).
Can I view this data in Insights?
- Click on “View in Insights” from any of the charts on these pages to view the chart in Insights.
- From Insights, add any additional filters, adjust the time window, or add the chart to one of your Insights dashboards.