This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Evaluating An Expression In QuickWatch
To evaluate a variable, register, or expression
- In the QuickWatch dialog box, type or paste the variable, register or expression into the Expression text box.
Tip If the register name happens to match a symbol name, use the @ symbol as a prefix to the register name.
Tip You can change the display format by typing a format specifier following the expression.
Tip You can use the context operator to specify the exact context of a variable or expression. This can be useful, for example, if you want to watch a variable outside the current scope.
- Click Recalculate.
- The value appears in the Current value box.
- If you typed an the name of an array or object variable in the Expression box, a tree control appears next to the name in the Current value box. Click on the plus (+) or minus (–) in the Name column to expand or collapse the variable.
To save the trouble of retyping a previous expression, you can choose it from the dropdown list attached to the Expression box.
To reenter a previous expression
- Click on the down arrow at the right of the Expression box.
- Choose the expression from the dropdown list.
- Click Recalculate.
You can display register values for native-code applications only.
See Also
Using the Quickwatch Dialog Box