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.

About Action Points<br />

Figure 221: Action Point<br />

Symbols<br />

� Barrier points<br />

Barrier points are similar to simple breakpoints, differing in that you use<br />

them to synchronize a group of processes or threads. A barrier point<br />

holds each thread or process that reaches it until all threads or processes<br />

reach it. Barrier points work together with the <strong>TotalView</strong> hold-and-release<br />

feature. <strong>TotalView</strong> supports thread barrier and process barrier points.<br />

� Eval points<br />

An eval point is a breakpoint that has a code fragment associated with it.<br />

When a thread or process encounters an eval point, it executes this code.<br />

You can use eval points in a variety of ways, including conditional breakpoints,<br />

thread-specific breakpoints, countdown breakpoints, and patching<br />

code fragments into and out of your program.<br />

� Watchpoints<br />

A watchpoint tells <strong>TotalView</strong> to either stop the thread so that you can<br />

interact with your program (unconditional watchpoint), or evaluate an<br />

expression (conditional watchpoint).<br />

All action points share the following common properties.<br />

� You can independently enable or disable action points. A disabled action<br />

isn’t deleted; however, when your program reaches a disabled action<br />

point, <strong>TotalView</strong> ignores it.<br />

� You can share action points across multiple processes or set them in individual<br />

processes.<br />

� Action points apply to the process. In a multi-threaded process, the action<br />

point applies to all of the threads contained in the process.<br />

� <strong>TotalView</strong> assigns unique ID numbers to each action point. These IDs appear<br />

in several places, including the Root Window, the Action Points Tab<br />

of the Process Window, and the Action Point > Properties Dialog Box.<br />

The following figure shows the symbol that <strong>TotalView</strong> displays for an action<br />

point:.<br />

CLI: dactions shows information about action points.<br />

Assembler-level action point<br />

Breakpoint<br />

Disabled breakpoint<br />

Barrier breakpoint<br />

Disabled barrier breakpoint<br />

Eval point<br />

Disabled eval point<br />

350 Chapter 16: Setting Action Points

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

Saved successfully!

Ooh no, something went wrong!