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!

Using the Locals Window

To display the Locals window

The Locals window displays variables local to the current context. The default context is the function containing the current execution location. Alternative contexts are other functions in the chain that called the current function.

To choose an alternative context

To view or modify information in the Locals window, your program must be in a break state. If you choose Continue, some information may appear in the Locals window while your program executes, but it will not be current until the next time your program breaks (in other words, it hits a breakpoint or you choose Break from the Debug menu).

To modify the value of a variable in the Locals window

  1. Your program must be in a break state.
  2. In the Locals window, select the value you want to edit by double-clicking on it or by using the TAB key.
  3. Type the new value, and press ENTER.
Caution   Editing floating-point values can result in minor inaccuracies due to decimal-to-binary conversion of fractional components. Even a seemingly innocuous edit can result in changes to some of the least significant bits in the floating-point variable.

See Also

Locals Window | Viewing and Modifying Data | Using the This Window | Using the Autos Window