To capture the execution of a program to BugJail, the only thing you need to do is start Java Virtual Machine with one additional option.
This article describes how to use an included helper tool, called the Capturing Assistant, to construct the BugJail Agent option string.
Alternatively, you can construct the option string manually (more effort, but allows using additional options).
Step 1: Open Capturing Assistant
If you are starting BugJail for the first time, then the Capturing Assistant with "Welcome to BugJail" title is displayed automatically.
Otherwise, click "CAPTURING ASSISTANT" button in the top toolbar of "Captures" panel. This opens the exact same Capturing Assistant as during the first startup (except now the title is "Capturing Assistant" instead of welcome).
Step 2: Set BugJail Agent options
The Capturing Assistant supports currently only the two most important options: snapshot capturing of sources, and limiting full runtime capturing to certain packages. When you type values for those two options, the ready-to-use BugJail Agent option string is constructed in real-time to the text-box below.
See article BugJail Agent options reference or the in-app help for details of those two options.
See section Enabling BugJail capturing for instructions on how to use the constructed option string to enable capturing of program execution to BugJail.