Search code examples
c#visual-studiodebuggingbreakpoints

set breakpoints to trigger after execution


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!


Solution

  • Set the breakpoint and when VS is there just press F11 :D