9.4.3. Viewing details of a variable

Highlight a variable in the display list. The Variable List dialog box contains seven buttons to display more details of this variable in the Output pane or to carry out specific debugging activities:

Print

Displays the value, in decimal, of the variable in the current procedure.

Print Hex

Displays the variable value in hexadecimal.

Watch

Click to copy the selected variable into the Watch pane so that you can view the watched data and see how the value changes during program execution.

PrintType

Displays type information for the selected variable. This information is displayed in a style similar to the source language.

Info

Displays type information for the selected variable including name, data type, storage class, and memory location.

Print+Close

Displays the value, in decimal, of the variable in the current procedure.

When the PRINTVALUE command has completed, the Variable List dialog box closes and control returns to the Code window.

Break+Close

The behavior of this button depends on your debugging environment. Possible results are:

  • Sets a breakpoint at the specified function, defined as a location in the image. The position of the breakpoint is indicated by a red disc. If this software execution break is reached while the program is running, RealView Debugger halts execution of the image.

    When the breakpoint has been inserted, the Variable List dialog box closes and control returns to the Code window.

  • Displays the Set Address/Data Break/Tracepoint dialog box with the location filled in.

Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0234B
Non-Confidential