NextGen TotalView for HPC User Guide : PART III Using the CUDA Debugger : Chapter 15 CUDA Debugging Tutorial : Controlling Execution
Controlling Execution
Set breakpoints in CUDA code before you start the process. If you start the process without setting any breakpoints, there are no prompts to set them afterward.
Note that breakpoints set in CUDA code will slide to the next host (CPU) line in the source file, but once the program is running and the CUDA code is loaded, TotalView recalculates the breakpoint expression and plants a breakpoint at the proper location in the CUDA code. (See "Sliding Breakpoints".)