Working with variables
During a debug session, you can display variable types, and change or disable variable values.
To display variable type names:
- In Variables view, click the Show Type Names toggle button.
To change a variable value while debugging:
During a debug, you can change the value of a variable to test how your program handles a particular value or to speed through a loop.
- In Variables view, right-click a variable, and select Change Value.
- Type a value.
To disable a variable value while debugging:
You can disable a variable so that the debugger does not read the variable's value from the target. This is useful if the target is very sensitive or the variable is specified as volatile.
- In Variables view, right-click a variable, and select Disable.