To enable ReplayEngine when loading a program into TotalView, select the checkbox Enable reverse debugging with Replay Engine in either
• the File > Debug New Program > Debug Options dialog
• the File > Debug New Parallel Program > Debug Options dialog
• the File > Attach to a Running Program > Debug Options dialog
Figure 2 – Enabling Replay Engine
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.