title: Visual Studio--Alter Variable While Debugging
body: <p>Is it possible to alter a variable while debugging?</p>
  
  <p>Say for example I have this code:</p>
  
  <pre><code>    string x = "foo"; //would actually be a passed-in variable in the real world.
  
      var y = "X equals " + x;    
  
      ==&gt;[BREAKPOINT] return x; 
  </code></pre>
  
  <p>Is there a way to manually enter or otherwise change the value of "x" when I hit the break point?  Also , is it possible to "step back" in the code in the same way that you can press <code>F11</code> and step through it?</p>