TotalView User Guide : Part V: Debugging : Debugging Programs : Manipulating Processes and Threads : Using the Toolbar to Select a Target

Using the Toolbar to Select a Target
The Process Window toolbar has a pulldown list and two sets of buttons. The pulldown list defines the focus of the command selected in the first button set. The second button set changes the process and thread being displayed.
Figure 148: The Toolbar
When you are doing something to a multi-process, multi-threaded program, TotalView needs to know which processes and threads it should act on. In the CLI, you specify this target using the dfocus command. When using the GUI, you specify the focus using the scope pulldown. For example, if you select a thread, and then select the Step button, TotalView steps the current thread. In contrast, if you select Process (Workers) and then select the Go button, TotalView tells all the processes that are in the same workers group as the current thread to start executing. (This thread is called the thread of interest.)
*
Chapter 13, “Using Groups, Processes, and Threads” describes how TotalView manages processes and threads. While TotalView gives you the ability to control the precision your application requires, most applications do not need this level of interaction. In almost all cases, using the controls in the toolbar gives you all the control you need.

Rogue Wave Software, Inc.
Voice: (303) 473-9118
rwonlinedocs@roguewave.com