IntelliJ Troubleshooting: Difference between revisions
(→Logs) |
(→Logs) |
||
(One intermediate revision by the same user not shown) | |||
Line 16: | Line 16: | ||
~/Library/Logs/JetBrains/IntelliJIdea2021.1 | ~/Library/Logs/JetBrains/IntelliJIdea2021.1 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
The path can be looked up as the value of the <code>idea.log.path</code> system property. | The path can be looked up as the value of the <code>idea.log.path</code> system property, and its default value can be found in <code>[[IntelliJ_Concepts#.history.json|.history.json]]</code> file. | ||
==<tt>idea.log</tt>== | ==<tt>idea.log</tt>== | ||
<code>/Users/<username>/Library/Logs/JetBrains/IntelliJIdea2021.1/idea.log</code> | <code>/Users/<username>/Library/Logs/JetBrains/IntelliJIdea2021.1/idea.log</code> | ||
==<tt>build.log</tt>== | ==<tt>build.log</tt>== | ||
<code>/Users/<username>/Library/Logs/JetBrains/IntelliJIdea2021.1/build-log/build.log</code> | <code>/Users/<username>/Library/Logs/JetBrains/IntelliJIdea2021.1/build-log/build.log</code> | ||
The log is generated by the compile server. For more details, see: {{Internal|IntelliJ_Concepts#Compile_Server|IntelliJ Concepts | Compile Server}} | |||
==Thread Dumps== | ==Thread Dumps== | ||
==Indexing Diagnostic Data== | ==Indexing Diagnostic Data== |
Latest revision as of 04:51, 2 July 2021
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