You can view the changing values of variables in the Variables window. To open, select Window>Debugging>Variables. For more information on this window, see Watch Local Variable Values Change.
Click the “Debug Project” icon . The code
will execute and stop at the breakpoint.
pot_value
information will be
shown in the Variables window.
Turn the pot on the board so the value will change. Click the “Continue”
icon .
The code will execute and stop at the breakpoint again. View the Variables window to see
that the value has changed (red text).