Every developer in the Java world has to deal with exceptions. An exception stack trace is the easiest way to tell what’s wrong in your program. In IntelliJ IDEA, we strive to make stack trace analysis as user-friendly as possible for you. To this end, IntelliJ IDEA has an Exception Analyzer which helps you analyze a stack trace.
Today I would like to tell you briefly how you can save your time dealing with stack traces.
Here’s what usually happens with exceptions:
- You receive an exception by email, bug tracker or messenger.
- Copy it to clipboard.
- Switch to IntelliJ IDEA.
- Go to Analyze → Analyze Stacktrace.
- Click OK.
Now you can easily skip steps 4 and 5. Simply select the option in the Analyze dialog for painless analysis. Voila!