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.
Copy the stack trace
In IntelliJ, select “Analyze” from the main menu and then click “Stack trace or thread dump…”
Most probably, the copied trace will already be pasted, but if not, paste it.