How Do I Manipulate Data While Debugging?

image65.jpg

You can change the data while the debugger is running. You can do this on either the Variables or the Watch pane.

  1. Set your breakpoint so you will pause in a spot within the scope of the variable.

  2. Go to either the Variables pane or the Watch pane, to find the variable you want to change.

  3. Left click on the Value column, or select right-click->Set Data, or click on image880.gif.

  4. If the variable participates in a recompute, you will be prompted “Do you want all expressions that are affected by the new value to be recomputed?”. Click on the Yes button if you want the expressions to be recomputed.