Breakpoints for Multiple Processes
In multiprocess programs, you can set breakpoints in the parent process and child processes before you start the program and at any time during its execution. To do this, use the Action Point > Properties dialog box, as shown in the following figure. This dialog box provides the following controls for setting breakpoints:
- When Hit, Stop
When your thread hits a breakpoint, TotalView can also stop the thread's control group or the process in which it is running.
- Plant in share group
If selected, TotalView enables the breakpoint in all members of this thread's share group at the same time. If this is not selected, you must individually enable and disable breakpoints in each share group member.
You can control the default setting of these check boxes using X resources or command-line options.
Action Point > Properties Dialog Box 
|
The action point ID and other information are displayed at the top of the dialog box.
You can preset many of the properties in this dialog box by using TotalView preferences, as shown in the following figure.
File > Properties: Action Points Page 
|
You can find additional information about this dialog box within the Help.
In addition to the controls in the Properties dialog box, you can place an expression in the expression box to control the behavior of control group members and share group members. Refer to Writing Code Fragments for more information.
If you are trying to synchronize your program's threads, you will want to set a barrier point. For more information, see Barrier Breakpoints.