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.

Debugging IBM Cell Broadband Engine Programs<br />

Figure 101: Action Point<br />

Properties Dialog Box<br />

Figure 102: Stop to Set<br />

Breakpoints Question<br />

When the PPU thread loads an SPU executable into an SPU context,<br />

<strong>TotalView</strong> stops execution and asks if you want to set a breakpoint.<br />

Figure 102 is an example of the question box that you will see.<br />

If you would like to control whether this question is asked, use the following<br />

CLI variables:<br />

� TV::ask_on_cell_spu_image_load<br />

� TV::cell_spu_image_ignore_regexp<br />

� TV::cell_spu_images_stop_regexp<br />

These variables are described in Chapter 4, “<strong>TotalView</strong> Variables”, in the<br />

<strong>TotalView</strong> Reference <strong>Guide</strong>.<br />

To create a breakpoint in SPU threads, select Yes. Then select an SPU<br />

thread. You can now navigate within this code and set breakpoints.<br />

142 Chapter 7: Setting Up Parallel Debugging Sessions

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

Saved successfully!

Ooh no, something went wrong!