Reverse Debugging with ReplayEngine : Using ReplayEngine : Enabling and Disabling ReplayEngine : Enabling ReplayEngine at Program Load
Enabling ReplayEngine at Program Load
To enable ReplayEngine when loading a program into TotalView:
*Select Enable Replay Engine in the File > New Program > Start a New Process dialog box (see Figure 2).
*Select the same option in the File > New Program > Attach to Process dialog box.
 
Figure 2: Enabling ReplayEngine using the File > New Program Dialog Box
This can also be accomplished from the command line through the -replay option.
CLI: dload -replay program-path
dattach -replay program-path
For a new program, ReplayEngine begins recording instructions as soon as you begin executing the program. For a running process you have attached to, ­ReplayEngine starts recording the next time you restart the process.