NextGen TotalView for HPC User Guide : PART I An Introduction to NextGen TotalView for HPC : Chapter 3 Basic Debugging : Setting and Running to a Breakpoint (Action Point) : Set and Control Breakpoints
Set and Control Breakpoints
1. Set a breakpoint.
Navigate to the function readexpr() on line 31 to open the file readexpr.c.
Set a breakpoint on line 119 by clicking on the line number in the Source pane. You can also set a breakpoint using the Action Points > Set Breakpoint menu item.
The breakpoint will stop the program after executing the expression() function and just before returning the node object.
NOTE >> Bold line numbers indicate known source locations. Breakpoints set on line numbers that are not bold are slid to the next valid source location and can become a valid source location if code is later loaded for that line.
The line number turns red in the Source pane and the action point is added to the Action Points view:
2. Delete/disable/enable a breakpoint.
To delete the breakpoint, click the red line number in the Source Pane, and then re-add it by clicking again. You can also select it in the Action Points view, right-click for a context menu, and select Delete or simply hit the Del or Delete key on your keyboard.
To disable a breakpoint, click the checkmark in the Action Points view. The icon dims to show it is disabled:
Click the checkmark again to re-enable it. Again, you can also disable or re-enable a breakpoint using the context menu.
NOTE >> An action point also has a “When hit” option for controlling whether to stop all threads in a process or group, or just a single thread or process. See "Controlling an Action Point’s Width"for more information.
RELATED TOPICS 
 
Action points properties
Enabling/disabling action points