Skip to main content

Replay debugging

What is replay debugging?

Replay debugging is the ability to save the state and parameters of a running method in a way that can be "replayed" in the future. Replay debugging with Runabout means you can save the execution context of your project and run it as many times as you want in the future, as well as sharing it with team members, so they can run and debug the issue too!

Creating a replayable scenario in production

To create replayable scenarios from a project running live in production see the documentation for the Runabout Java Library.

Once implemented you can convert the library JSON output into a saved scenario by copying it to you clipboard, navigating to the Runabout Panel in your IDE, and clicking the 'Launch' button at the bottom.

Creating a replayable scenario locally

Another way to use Runabout for replay debugging is saving a running debug session so you can replay it later or share it.

How to save a breakpoint as a scenario

The workflow for replay debugging looks like this:

  1. Run your program with the Runabout Live executor (instructions here)
  2. Hit a breakpoint
  3. Click the "Save as Scenario" button

Replaying the scenario

Once you've saved your breakpoint context as a Runabout scenario, all you need to do is run that scenario! It's that easy!