Examine expressions

Inspect an expression and modify a variable

While you are debugging a program, you can find out the value of an expression or variable while the program is paused. It is also sometimes useful to change the value of a variable.

  1. From the main menu, select Debug ▸ Inspect/Evaluate... or right click in the Editor window and select Inspect/Evaluate....

  2. If the expression is a variable name, you can change its value by clicking on the Value column and entering a new value.