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.

Setting Breakpoints and Barriers<br />

Figure 230: Action Point ><br />

Properties: Selecting<br />

Figure 231: Breakpoint at<br />

Assembler Instruction<br />

Setting Machine-Level Breakpoints<br />

To set a machine-level breakpoint, you must first display assembler code.<br />

(For information, see “Viewing the Assembler Version of Your Code” on page 171.)<br />

You can now select an instruction. <strong>TotalView</strong> replaces some line numbers<br />

with a dotted box ( )—this indicates the line is the beginning of a machine<br />

instruction. If a line has a line number, this is the line number that appears<br />

in the Source Pane. Since instruction sets on some platforms support variable-length<br />

instructions, you might see a different number of lines associated<br />

with a single line contained in the dotted box. The icon appears,<br />

indicating that the breakpoint occurs before the instruction executes.<br />

If you set a breakpoint on the first instruction after a source statement,<br />

however, <strong>TotalView</strong> assumes that you are creating a source-level breakpoint,<br />

not an assembler-level breakpoint.<br />

358 Chapter 16: Setting Action Points

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

Saved successfully!

Ooh no, something went wrong!