Working with variables

During a debug session, you can display variable types, and change or disable variable values.

To display variable type names:

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.

  1. In Variables view, right-click a variable, and select Change Value.
  2. 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.

Related concepts
C/C++ Development perspective

Related tasks
Debugging

Related reference
Debug views

IBM Copyright Statement