Share via


Viewing the Value of a Variable or Expression or the Contents of a Register by Using QuickWatch (Windows CE 5.0)

Send Feedback

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

Viewing Memory and Registers | QuickWatch Dialog Box | Character Formatting of Watch Variables | Watching Variables and Expressions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.