Share via


Viewing a Value Using QuickWatch (Windows Embedded CE 6.0)

1/5/2010

You can view the value of a variable, expression, or the contents of a register.

To view the value of a variable or expression, or the contents of a register, by using QuickWatch

  1. Start debugging and then wait for the debugger to stop at a breakpoint.

  2. Select the variable, register name, function, or expression in your source code, and then choose QuickWatch from the Debug menu.

    – or –

    From the Debug menu, choose QuickWatch and type the variable, register name, or expression in the Expression box.

    The Expression list contains the most recently used QuickWatch expressions.

  3. Choose Recalculate.

    The QuickWatch dialog box evaluates the variable or expression and displays the value or an error message.

  4. If you add an array or object variable to the QuickWatch dialog box, use the plus (+) or minus (–) boxes that appear in the Name column to expand or collapse your view of the variable.

    You can change the QuickWatch display format by using formatting symbols.

See Also

Reference

QuickWatch Dialog Box

Concepts

Watching Variables and Expressions
Viewing Memory and Registers
Character Formatting of Watch Variables