I'm using visual studio 2012. The problem is when I use breakpoints to debug my code and set specific lines to break on, the breakpoint breaks on the line, but before the line is executed. I need the line to get executed and then break on the line (post execution), so I can see the values assigned, otherwise now I have to add extra line after every breakpoint and break on that line. Any suggestions? Thanks!
Set the breakpoint and when VS is there just press F11 :D
Add the break point to the line you are currently breaking and when the execution breaks on that unexecuted line, hit F10. It will execute that line and will still be on break.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With