• English日本語한국어
  • Log inStart now

Mobile crash event trail

The crash event trail shows you the events leading up to a crash of a mobile app, based on your subscription level's data retention policy. These can be events New Relic monitors by default, or custom events. This document explains what the crash event trail is and how to use it.

View events before mobile app crashes

When a mobile app crashes and you don't know why, you can study what happened right before the crash. The crash event trail shows you these events so that you can follow the "breadcrumbs" leading up to the crash and diagnose the cause of the failure.

one.newrelic.com > All capabilities > Mobile > (select a mobile app) > Crash analysis > (click on a crash type) > (scroll down to Event trail): The crash event trail shows the activity leading up to a mobile app crash.

The crash event trail shows all mobile event types leading up to a crash. You can use the Record breadkcrumb SDK to create custom MobileBreadcrumb events that track app activity you think would help you diagnose a crash.

You can also use MobileHandledException events in the crash event trail to aid in debugging. Use the iOS and Android recordHandledException SDK method to annotate where exceptions are handled in your application. These events will automatically appear in the crash event trail.

For more about annotating crash event trails with custom data, see Add custom data to mobile monitoring.

Use the event trail

To use the crash event trail:

  1. Go to one.newrelic.com > All capabilities > Mobile > (select a mobile app) > Crash analysis.
  2. On the lower right side of the Crash analysis page, select a crash type.
  3. On the Crash details page, under the stack trace, select Event trail.
  4. Study the events leading up to a crash type for clues to the reasons for the crash.
  5. To expand details about an event's attributes, select it.
  6. To view the event trail results in New Relic, select Open session in Insights.
  7. To scroll through occurrences of the same crash type, use the event trail's left and right arrows.

To make the most out of our crash analysis tools, use:

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.