Provides IDE capabilities to examining HotSpot JVM fatal error logs:
- Syntax highlighting
- Structured view
- Folding
- Go to declaration for Java names
- A dedicated tool window
- Documentation hints for addresses, keywords, sizes, etc.
Additional features:
- Configurable auto-folding of sections (
Settings | Other Settings | HotSpot Crash Examiner
). - The tool window lists important properties from the log, their explanation, and detailed analysis.
- Highlights the relevant portion of the log when clicking on a tool window element.
- Mark the properties that require attention such as low physical memory on the JVM host. Limits are configurable in the Settings dialog.
- Go to declaration for Java classes and methods.
Find Address
action from the editor's context menu will highlight all occurrences of the currently selected address and those near it (configurable in the Settings dialog). If the address belongs to some thread's stack or can be found in the memory map, that will also be highlighted.- Documentation hints for register names, signals, and other keywords; detailed info about addresses.
Automatically recognizes the files matching these patterns: hs_err_*.log
, java_error_in_*.log
, and crash*.txt
.
To view any file with this plugin, select the file in the project view, choose
Override File Type
and then HotSpot Fatal Error Log
Configurable warnings in the tool window draw attention to unusual features of the crash:
A human-readable analysis of the crash:
Hold the mouse pointer over an address to try to resolve it. Works for thread, stack, Java heap, dynamic libraries, and other addresses:
Pick the Find Address
option from the context menu
to highlight the address under the cursor and addresses near it everywhere in the log file:
Addresses do not have to match textually or even appear in the log. For example, address pointing into a memory-mapped region will highlight that region in the log.
Numbers that denote the size are converted into a more human-readable form:
Signals, registers, and common thread names, some JVM terms also have documentation hints.
Go to declaration for Java symbols and classes; requires Java support in the IDE and the corresponding project with the classes opened:
Various thresholds are configurable in the plugin's Settings dialog:
-
Using the IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "HotSpot Crash Examiner" > Install
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...