Free to use during the beta
1. Prerequisites
BugJail is now an IntelliJ IDEA plugin!
However, you can capture to BugJail from any IDE, application server, or command-line Java application (If you don't have IDEA, you can use the free edition as an empty "host" for BugJail).
2. Download
3. Install
- Open IntelliJ IDEA
- Open
Settings
orPreferences...
- Select
Plugins
- Click the
Cog
symbol - Select
Install Plugin from Disk...
- Unsurprisingly, select the BugJail zip you downloaded
- If you haven't previously installed any plugin from disk,
the first installation may fail.
(seems that there is some weird bug in IntelliJ: you'll be prompted to accept a privacy notice, but after accepting it, the installation does NOT resume and you need to start the installation again, i.e. select again install Plugin from Disk...).
4. Capture
- After installation, all menus and toolbars have a new "Capture" item next to "Run" and "Debug".
- Or you can capture from a command-line application by adding these VM options:
-javaagent:$HOME/.BugJail/agent.jar -noverify
(on Windows, the $HOME won't work so please use the literal path to your home dir)
- Or you can capture from an application server by setting the above VM options as an environment variable.
The name of the environment variable depends on the application server, but it is most commonly
JAVA_OPTS
.
- For further details, please see the Capturing User Manual.