I am trying to work on this website and I am a bit new to Visual Studio and whatnot. I would like to have a step through action whenever I click on certain icons on the website. Basically it is a lot of code, most of which I am learning, and I need to know where I am sending control when I click certian icons.
Any tips?
Well, the Button
that you click must have a Click Event Handler
in the code behind file. You can go to that code and add a break point by pressing F9 key or use Debug
> Toggle Breakpoint
, which makes debugger break when that line of code is executed, after which you can use F10
key or use Debug
> Step Over
to move debugger to next line after executing the current line. While debugging, you can use mouse hover to know values of variables.