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.

Figure 222: Action Point Tab<br />

Setting Breakpoints and Barriers<br />

The icon is what <strong>TotalView</strong> displays when you create a breakpoint<br />

on an assembler statement.<br />

CLI: All action points display as “@” when you use the dlist command to<br />

display your source code. Use the dactions command to see what<br />

type of action point is set.<br />

When you’re program halts because it encountered an action point,<br />

<strong>TotalView</strong> lets you know what has happened in several ways. In the Root<br />

Window, the status is displayed with the letter “b” followed by a number.<br />

This is the same number that you will see in the Action Points tab within<br />

the Process Window. In the Process Window, the status lines above the<br />

Source Pane also let you know that the thread is at a breakpoint. Finally,<br />

<strong>TotalView</strong> places a yellow arrow over the action point’s icon in the Action<br />

Point tab. For example:<br />

If you are working with templated code, you will see ellipses (...) after the<br />

address. These ellipses indicate that there are additional addresses associated<br />

with the breakpoint.<br />

Setting Breakpoints and Barriers<br />

<strong>TotalView</strong> has several options for setting breakpoints. You can set:<br />

� Source-level breakpoints<br />

� Breakpoints that are shared among all processes in multi-process programs<br />

� Assembler-level breakpoints<br />

You can also control whether <strong>TotalView</strong> stops all processes in the control<br />

group when a single member reaches a breakpoint.<br />

Topics in this section are:<br />

� “Setting Source-Level Breakpoints” on page 352<br />

� “Setting Breakpoints at Locations” on page 353<br />

� “Displaying and Controlling Action Points” on page 355<br />

<strong>TotalView</strong> <strong>Users</strong> <strong>Guide</strong>: version 8.7 351

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

Saved successfully!

Ooh no, something went wrong!