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.

Using Built-in Variables and Statements<br />

Statement Use<br />

$hold<br />

$holdprocess<br />

$holdstopall<br />

$holdprocessstopall<br />

Holds the current process.<br />

If all other processes in the group are already held at<br />

this eval point, <strong>TotalView</strong> releases all of them. If other<br />

processes in the group are running, they continue to<br />

run.<br />

Like $hold, except that any processes in the group<br />

which are running are stopped. The other processes in<br />

the group are not automatically held by this call—<br />

they are just stopped.<br />

$holdthread Freezes the current thread, leaving other threads<br />

running.<br />

$holdthreadstop<br />

$holdthreadstopprocess<br />

Like $holdthread, except that it stops the process.<br />

The other processes in the group are left running.<br />

$holdthreadstopall Like $holdthreadstop, except that it stops the entire<br />

group.<br />

$stop<br />

$stopprocess<br />

Sets a process-level breakpoint. The process that<br />

executes this statement stops; other processes in<br />

the control group continue to execute.<br />

$stopall Sets a program-group-level breakpoint. All processes<br />

in the control group stop when any thread or process<br />

in the group executes this statement.<br />

$stopthread Sets a thread-level breakpoint. Although the thread<br />

that executes this statement stops, all other threads<br />

in the process continue to execute. If the target<br />

system cannot stop an individual thread, this<br />

statement performs the same as to $stopprocess.<br />

$visualize(expression[,slice]) Visualizes the data specified by expression and<br />

modified by the optional slice value. Expression and<br />

slice must be expressed using the code fragment’s<br />

language. The expression must return a dataset (after<br />

modification by slice) that can be visualized. slice is a<br />

quoted string that contains a slice expression. For<br />

more information on using $visualize in an<br />

expression, see “Using the Visualizer” on page 184.<br />

396 Chapter 17: Evaluating Expressions

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

Saved successfully!

Ooh no, something went wrong!