30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Manipulating Processes and Threads<br />

Figure 148: The Processes Tab<br />

Figure 149: The Processes Tab:<br />

Showing Group Selection<br />

The color that <strong>TotalView</strong> uses to display a process indicates the process’s<br />

state, as follows:<br />

Color Meaning<br />

Blue Stopped; usually due to another process or thread hitting a<br />

breakpoint.<br />

Orange At breakpoint.<br />

Green All threads in the process are running or can run.<br />

Red The Error state. Signals such as SIGSEGV, SIGBUS, and SIGFPE can<br />

indicate an error in your program.<br />

Gray The process has not begun running.<br />

The following figure shows a tab with processes in three different states<br />

(the differences are hard to see in the printed manual):<br />

If you select a group by using the Process Window’s group selector pulldown<br />

(see “Using the Toolbar to Select a Target” on page 228 for information),<br />

<strong>TotalView</strong> dims the blocks for processes not in the group. (See Figure 149.)<br />

CLI: dptsets<br />

If you click on a block, the context within the Process Window changes to<br />

the first thread in that process.<br />

CLI: dfocus<br />

Clicking on the P+ and P– buttons in the tab bar. changes the process<br />

being displayed within the Process Window.<br />

Using the Threads Tab<br />

The Threads Tab displays information about the state of your threads.<br />

Clicking on a thread tells <strong>TotalView</strong> to shift the focus within the Process<br />

Window to that thread. (See Figure 150 on page 231.)<br />

Clicking on the T+ and T– buttons in the tab bar changes the thread being<br />

displayed within the Process Window.<br />

230 Chapter 12: Debugging Programs

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!