I am curious to know if there is a way to edit code in C# VS 2008 right when it has hit a breakpoint and I am walking thru the code... can I modify the code (such as the value i
In response to this question:
can I modify the code (such as the value in a variable or if my stepthrough line is about to hit an if statement ... can I modify the if statement....etc)?
You cannot pop a new value into a variable directly, but what you can do is this:
See the other answers about enabling Edit & Continue -- in particular, make sure you're in Debug mode.