4.12 Viewing Variable Values
You can view the changing values of variables in the Variables window. For more information on this window, see 5.19 Watch Local Variable Values Change.
To see different values of the variable counter
, remove the breakpoint
set in the previous topics by clicking on it in the left margin. Then set a new
breakpoint as shown in the figure below.
![](GUID-4FF377FF-1858-4B42-B3BF-C410EC945B5F-high.png)
Click the Debug Project icon
![](GUID-500F5689-8F8C-488E-BEAC-FE076FB6844A-high.png)
Open the Variables window by selecting . To view the variable counter
in the
Variables window, click on the Show
Variables button (see figure below).
![](GUID-1F484674-015F-4D61-B303-70959DB95FC0-high.png)
counter
information will be shown in the Variables
window but may also be seen by hovering over the variable in code.
![](GUID-E8072DC7-5CE8-4510-A313-A4432B5612AB-high.png)
Click the Continue icon
![](GUID-392F4663-A24F-4A90-9780-592003EBDBBB-high.png)
![](GUID-0225B4AA-11F0-49D4-8255-065E895D458D-high.png)