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 the Watch Window

To evaluate a variable, register, or expression

  1. The debugger must be in a break state.
  2. In the Watch window, double-click on an empty row in the Name column.
  3. Type or paste the variable, register or expression in the selected row.
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. Press ENTER.
  2. The result appears in the Value column. If you typed the name of an array or object variable, a tree control appears next to the name in the Name column. Click on the plus (+) or minus (–) in the Name column to expand or collapse the variable.
  3. The expression remains in the Watch window until you remove it or until you end the debugging session.

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

See Also

Using the Watch Window