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.

Displaying Variables<br />

Figure 183: Variable Window<br />

for an Area of Memory<br />

If you have enabled the Memory Debugger, this additional information<br />

includes letting you know if memory is allocated or deallocated or being<br />

used by a guard block or hoarded.<br />

Displaying Areas of Memory<br />

You can display areas of memory using hexadecimal, octal, or decimal values.<br />

Do this by selecting the View > Lookup Variable command, and then<br />

entering one of the following in the dialog box that appears:<br />

� An address<br />

When you enter a single address, <strong>TotalView</strong> displays the word of data<br />

stored at that address.<br />

CLI: dprint address<br />

� A pair of addresses<br />

When you enter a pair of addresses, <strong>TotalView</strong> displays the data (in word<br />

increments) from the first to the last address. To enter a pair of addresses,<br />

enter the first address, a comma, and the last address.<br />

CLI: dprint address,address<br />

All octal constants must begin with 0 (zero). Hexadecimal constants must begin with<br />

0x.<br />

The Variable Window for an area of memory displays the address and contents<br />

of each word. (See Figure 183.)<br />

<strong>TotalView</strong> displays the memory area’s starting location at the top of the<br />

window’s data area. In the window, <strong>TotalView</strong> displays information in hexadecimal<br />

and decimal notation.<br />

296 Chapter 14: Examining and Changing Data

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

Saved successfully!

Ooh no, something went wrong!