Options: Reverse Debugging, Memory Debugging, and CUDA
You can choose to enable various additional debugging features for a given session. Select the Debug Options tab to launch options.
Depending on the type of debug session, different options are available:
*The New Program and New Parallel Program windows offer reverse debugging, memory debugging, and CUDA debugging options:
Figure 38, Debug Options for Reverse, Memory or CUDA debugging
*Reverse Debugging. Record all program state while running and then roll back your program to any point.
The Enable ReplayEngine check box is visible only on Linux x86 (32-bit) and Linux-x86-64 platforms. If you do not have a license for ReplayEngine, enabling the check box has no effect, and TotalView displays an error message when your program begins executing. Selecting this check box tells TotalView that it should instrument your code so that you can move back to previously executed lines.
*Memory Debugging. Track dynamic memory allocations. Catch common errors, leaks, and show reports.
Enabling memory debugging here is the same as enabling it within MemoryScape or using the Process Window’s Debug> Enable Memory Debugging command.
The Enable memory debugging and Suppress memory error notifications check boxes perform the same functions as the Enable memory debugging and On memory event, halt execution checkboxes do within the Advanced Options on MemoryScape’s Memory Debugging Options page. This is the equivalent of the basic Low setting.
*CUDA Debugging. Detect global memory addressing violations and misaligned memory accesses for CUDA-based programs.
*The Attach to a Running Program window supports only ReplayEngine and a special Attach option. For more information, see Attaching to a Running Program.
Reverse Debugging
Understanding ReplayEngine” in the ReplayEngine User Guide
Memory Debugging
More on MemoryScape in Debugging Memory Problems with MemoryScape
CUDA Debugging
Attach options