How to unscramble and analyse an external call stack in IntelliJ

--

Source: https://www.pandaandpolarbear.com

When debugging a program in the popular IDE IntelliJ, you may have used the call stack links which conveniently conveniently takes you to the corresponding class and line of code. But when you receive a stack trace from an external party (E.g. customer bug report) you would always want to easily analyse the stack trace in relation to your source code instead of manually following the files and line numbers.

IntelliJ’s Stack Trace Analyser is the tool that will save your life at a time like this.

  1. Copy the stack trace
  2. In IntelliJ, select “Analyze” from the main menu and then click “Stack trace or thread dump…
  3. Most probably, the copied trace will already be pasted, but if not, paste it.
  4. Click OK

References: https://www.jetbrains.com/help/idea/analyzing-external-stacktraces.html

Hope you learned something today! Cheers!

--

--

Sachithra Dangalla
Sachithra Dangalla

No responses yet