How can I change the values of variables?

To change the value of variables, follow the steps below in the debug perspective:

  1. From the toolbar, select Window > Show View > Variables . The Variables window appears docked on the upper right hand side of debugger perspective.
  2. Right-click on the variable.

    A context menu appears.

  3. From context menu, select Change Value .

    The Set Value window appears.

  4. In the Enter a new value for variables textbox, type a new variable value.
  5. Click OK .

    The Set Value window closes.

The variable value changes in the Variables window. The variable being changed is highlighted in yellow.