Local variables

Local variables of the current frame (the current function in which the program control is present) are displayed in the Locals window. During execution of the program (e.g. during single stepping), local variables will be updated. If any variable value was changed in the last debugging step, its value will be highlighted in red. Variables are presented in a tree form for easy view.

Listing local variables

  1. From the main menu, select View ▸ Locals to open the Locals window.

All local variables are displayed in a tree view with children used to represent structure or array members.

Variable

The name of the variable.

Value

The variable value.

Type

The type of the variable.

Changing the value of a variable

  1. In the Locals window, select the variable you want to edit and double click in the Value column.

  2. Type the new value.