Hi,
Make sure that your application is debug mode, if the application is in release mode you should change the debug mode.
In a button click event’s left side of the window you should make single click .after that you can see a red dot
When the application came to run mode the compiler come to the debugging line after that you can use the following key to debug your site
F11-to debug each and every line with in whole application
F10-to debug with in the method or function
F5- to skip the debug mode