JetBrains Rider 2024.3 Help

Explore and navigate exception stack traces

When you receive an external stack trace (for example, from a bug report), you can open it in the dedicated Stacktrace window and then navigate to code where the corresponding exception originated. In this window, you can click files, types, and methods to display them in the editor.

Each stack trace is opened in a new tab, which stays available until you close it or close the solution. If you close the Stacktrace window, you can reopen it by choosing View | Tool Windows | Stacktrace from the menu.

Navigate to code that caused an exception

  1. Copy exception stack trace to the clipboard.

  2. Press Ctrl+I, S or choose Tools | Analyze Stack Trace or Thread Dump... from the main menu . Alternatively, you can press Ctrl+Shift+A, start typing the command name in the popup, and then choose it there.

  3. The Stacktrace window opens displaying the exception stack trace from the clipboard in a new tab.

  4. Study the stack trace and click highlighted items to open the corresponding code in the editor.

  5. To navigate to the next or previous frame in the stack trace, press Ctrl+Alt+Down/Ctrl+Alt+Up or choose Navigate | Up/Down the Stack Trace from the main menu.

    These commands will also open the corresponding method calls in the editor. They will work when the Stacktrace window is open, even if the application focus is in the editor.

  6. If you prefer to wrap long lines in the stack trace, use the corresponding toolbar button

Navigating from stack trace to exception

When the code that you are debugging throws an exception, you can click Stack Trace Explorer in the exception popup to study the exception right away or later in the Stacktrace window:

JetBrains Rider: Opening stack trace from exception
Last modified: 11 February 2024