Getting started¶
You will need:
The Time Travel Debug for Java plugin installed into IntelliJ IDEA.
The Undo for Java Recording and Replay tools.
Your application or test case running under an OpenJDK or Oracle JVM on a supported Linux distribution.
Installing the Time Travel Debug for Java plugin¶
In IntelliJ IDEA Settings (Ctrl-Alt-S, or ⌘, on macOS) › Plugins › Marketplace,
search for LiveRecorder, press Install and restart IntelliJ IDEA.
Under Settings › Tools › LiveRecorder › License Key, paste your license key. If you don’t have a licensed copy of Undo for Java, you can obtain a free trial.
Recording and Replay tools¶
The Recording and Replay tools are supplied as LR4J-Record-*.zip. Unzip the archive and set
LR4J_HOME to the lr4j directory it creates:
export LR4J_HOME=/path/to/lr4j
Refer to Recording an application and Live Debugging for how to use these tools.
The archive includes demo programs in $LR4J_HOME/demos/java/ that you can record and debug
to get familiar with the tools. See the
Python API example for
a worked example using these demos.