* Add break point
To set a breakpoint, click on the left margin.
* Adding a watch
-- Debug / New Watch
The Watches window displays the list of current watches, their type and values.
-- Debug / Debug Project
Execute the program to the the first breakpoint.
If you did not set a breakpoint, the program will run until it terminates.
-- Debug / Run to cursor (F4)
Choose Run to Cursor in the Run menu to execute your program until the line in the source code
where the cursor is currently located.
Windows / Debugging / Variables