To Modify the Value of a Variable in the Locals Window

  1. 1.The debugger must be in break mode.
  2. 2.In the Locals window, select the value you want to edit by double-clicking on it or by using the TAB key.
  3. 3.Type the new value and press ENTER.

Editing floating-point values can result in minor inaccuracies because of decimal-to-binary conversion of fractional components. Even a seemingly harmless edit can result in changes to some of the least significant bits in the floating-point variable.