IntelliJ Troubleshooting
External
- Getting a thread dump when IDE hangs and doesn't respond https://intellij-support.jetbrains.com/hc/en-us/articles/206544899
Internal
Diagnostic Data Collection
Help → Collect Logs and Diagnostic Data
The command produce a ZIP into a temporary folder. The ZIP includes idea.log, the build log, thread dumps, indexing diagnostic data and a troubleshooting.txt
with diagnostic information.
Logs
The IDE logs are maintained under (adjust for IntelliJ version):
~/Library/Logs/JetBrains/IntelliJIdea2021.1
The path can be looked up as the value of the idea.log.path
system property, and its default value can be found in .history.json
file.
idea.log
/Users/<username>/Library/Logs/JetBrains/IntelliJIdea2021.1/idea.log
build.log
/Users/<username>/Library/Logs/JetBrains/IntelliJIdea2021.1/build-log/build.log
The log is generated by the compile server. For more details, see:
Thread Dumps
Indexing Diagnostic Data
/Users/<username>/Library/Logs/JetBrains/IntelliJIdea2021.1/indexing-diagnostic/
Cases
Library source does not match the bytecode for class ...
Shows when trying to debug on a Lombok-processed class: https://stackoverflow.com/questions/36753524/library-source-does-not-match-the-bytecode-for-class