Collecting Java debugger logs

To get the raw logs from the Java debugger please perform the following steps:

  1. Add -Didea.debugger.trace=ALL into the .vmoptions file, refer to this document for details how to do it on your system.
  2. Start IntelliJ IDEA from the command line (Terminal) so that console output can be observed. On Windows run bin\idea.bat, on Linux start with bin/idea.sh, on Mac use this command in the Terminal: /Applications/IntelliJ\ IDEA\ XX.app/Contents/MacOS/idea (where XX is IDEA version).
  3. Reproduce the problem with the debugger, copy all the text from the console and attach it to your report.

In case there is a lot of output it may be handy to start IntelliJ IDEA with the console output redirected to a file (idea.bat > output.txt on Windows, idea.sh > output.txt on Linux).

2 comments

If you see the following output when running,

Error: Could not find or load main class # custom IntelliJ IDEA VM options

, edit idea.exe.vmoptions to remove the illegal comment "# custom IntelliJ IDEA VM options" to work around this defect.

Edited by bikernut_mass
0

There could be some issue with your .vmoptions file in the config directory (https://intellij-support.jetbrains.com/hc/articles/206544869). Wrong line endings or some incorrect Unicode symbol or option.

0

Please sign in to leave a comment.

Have more questions?

Submit a request