30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 163: Width Specifiers<br />

Setting Process and Thread Focus<br />

example, the dstep command always requires a TOI, but entering this command<br />

can do the following:<br />

� Step just the TOI during the step operation (thread-level single-step).<br />

� Step the TOI and step all threads in the process that contain the TOI<br />

(process-level single-step).<br />

� Step all processes in the group that have threads at the same PC as the<br />

TOI (group-level single-step).<br />

This list doesn’t indicate what happens to other threads in your program<br />

when <strong>TotalView</strong> steps your thread. For more information, see “Stepping (Part<br />

II): Examples” on page 273.<br />

To save a P/T set definition for later use, assign the specifiers to a Tcl variable;<br />

for example:<br />

set myset {g2.3 t3.1}<br />

dfocus $myset dgo<br />

As the dfocus command returns its focus set, you can save this value for<br />

later use; for example:<br />

set save_set [dfocus]<br />

Specifier Examples The following are some sample specifiers:<br />

a<br />

g<br />

g<br />

p<br />

t<br />

Thread<br />

g2.3 Select process 2, thread 3, and set the width to group.<br />

t1.7 Commands act only on thread 7 or process 1.<br />

d1.< Use the default set for each command, focusing on the first<br />

user thread in process 1. The less-than symbol (

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

Saved successfully!

Ooh no, something went wrong!