How to read a stack trace in Sentry

Learn how to read a stack trace in Sentry: open an issue, jump to the Stack Trace section, read the newest frame, and switch to the full trace view.

Quick answer

Open an issue in Sentry and use the Stack Trace link in the jump-to bar to scroll to the exception. Read the newest frame first, because it shows where the error was thrown. Then open the Display menu and choose Full Stack Trace to see every frame, not just the most relevant ones.

Steps at a glance

  1. Open an issue from the Issues feed
  2. Jump to the Stack Trace section
  3. Read the newest frame first
  4. Open the Display menu
  5. Choose Full Stack Trace

Interactive demo

Loading demo…

Summary

The stack trace on a Sentry issue lists the chain of function calls that led to an error. Reading it top-down shows where the error was thrown and which code called it, so you can find the bug faster.

Step-by-step guide

  1. Step 1

    Open the issue

    In the Issues feed, click the TypeError issue to open its details page. The page shows the error title, status and an event graph above the event details.

  2. Step 2

    Jump to Stack Trace

    In the event header, find Jump to section links and click Stack Trace. The page scrolls to the exception, showing the error type, its message and the list of frames.

  3. Step 3

    Read the newest frame first

    Each row is one frame with a file, line and column, and the function it ran in. The top row is the newest call, the place where the error was thrown. Rows below it show what called it.

  4. Step 4

    Open the Display menu

    Click Display at the top right of the Stack Trace section. The menu offers views of the trace plus sort and minified options.

  5. Step 5

    Show the full stack trace

    Under View, choose Full Stack Trace instead of Most Relevant. You can also pick Raw Stack Trace, or change the sort between Newest and Oldest.

Why this matters

You get an alert that users hit a crash, and the message alone does not say where. Reading the stack trace points you to the file, line and function that failed, so you can open the right code instead of guessing.

Frequently asked questions

  • Which frame should I read first?

    Start with the newest frame, the top row when Sort is set to Newest. It is where the error was thrown.

  • Can I see the raw trace text?

    Yes. Open the Display menu and choose Raw Stack Trace under View.

Create interactive demos like this one — free, no coding required.

Start for free →