NGWS SDK Documentation  

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

  1. 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.
  1. Click Recalculate.
  2. The value appears in the Current value box.
  3. 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

  1. Click on the down arrow at the right of the Expression box.
  2. Choose the expression from the dropdown list.
  3. Click Recalculate.

You can display register values for native-code applications only.

See Also

Using the Quickwatch Dialog Box