Steps for Debugging a project
Place a break point (Right click on any line on the source code ,select break point ,insert break point).
Press F5 for execution.
Click on button 1.
The execution will be stopped at break point.
To continue line by line execution pres F11.
To observe the value of a variable , right click on a variable name ,Add watch.