Frequently Asked Questions
Got questions? We’ve got the answers.
10 FAQs
Can I use Live Recorder on optimised code?

Yes, although your debug experience will be the same as using regular debuggers on optimised code.

Can I use code that does not have debug information in it?

Yes, you can ship or deploy a Live Recorder enabled application without debug information. Load the recording and point at a version of the binary with the debug information to get full source-level debugging.

What is the performance?

Live Recorder typically causes programs to experience a 2-3x slowdown. This can be more or less, depending on the individual situation.

What are the space requirements?

Spatial requirements vary hugely depending on the program, but typically a few megabytes per second of recording.

Can I record forever?

Yes. Live Recorder uses a circular event log so old history is discarded. Due to the performance overheads however, most of our customers do not run their programs with Live Recorder always on, but have a way to enable or disable recording as required.

Can I record on one machine and then replay on another?

Yes. As long as both the record and replay machines are running Linux and use the same CPU architecture, it's fine. However, you can't replay ARM recordings on x86. Live Recorder is not a simulator, so your replay machine CPU must support all of the instructions used on the recording machine. E.g. if your program uses AVX instructions when the recording is made then you must replay on a machine with a CPU that has AVX support.

How is the recording enabled?

Live Recorder is enabled simply by calling the undodb_recording_start() function.

Can I disable the recording?

Yes. Just by calling the undodb_recording_stop() function.

Where and when is the recording saved?

The recording is saved to a file on the local filesystem. The recording is generated when you call the undodb_save() function, or, if so-configured, when the program terminates.

What is in the recording?

The recording contains the program starting state, all non-determinstic inputs, any debug information files and all libraries used by the program are all contained in the recording. It is completely self-contained.

Top