In the Local Variable view, you can monitor the values of all local variables and parameters passed to a routine. The debugger displays these values, and checks and updates all displayed values whenever the debugger regains control from your program (for example, after a step or at a breakpoint). You cannot add or remove an entry to the local variables and parameters list. The debugger automatically removes previous entries and adds new entries when a new routine appears at the top of the call stack. To monitor a local variable or parameter: 1. Choose the Views... menu item in the Options menu on the main or optional view window. The Views dialog box appears. 2. Click on the Local Variable View item in the Views dialog box. The Local Variable view appears. The debugger automatically lists all local variable and parameter names (in the Expression column) and current values (in the Value/Deposit column). To change the value of a monitored value within the local variable view: 1. Monitor the local variable as explained above. 2. Click on the variable's value in the Value/Deposit column of the local variable view. A small dialog box appears over that value, which you can now edit. 3. Enter the new value in the dialog box. 4. Click on the check mark (OK) in the dialog box. The dialog box is removed and replaced by the new value, which indicates that the variable now has that value. The debugger notifies you if you try to enter a value that is incompatible with the variable's type, range, and so on. To cancel a text entry and dismiss the dialog box, click on X (Cancel). You can change the value of only one component of an aggregate variable (such as an array or structure) at a time. To change the value of an aggregate-variable component: 1. Display the value of the component as explained in the Monitoring an Aggregate (Array or Structure) Variable topic. 2. Follow the procedure for changing the value of a scalar variable.