Adding an Expression

Related Topics:

Expression Evaluation Data Display Window
Info Dialog Box Previous Value Dialog Box

You can enter expressions into the Data Display window after a program has begun executing. Once you add an expression, you can watch the changes in its value during program execution.

Expressions are automatically re-evaluated every time the program stops due to a breakpoint.

To add an expression to the Data Display window:

1. In the Debugging Window, click the Evaluate radio button.

2. Type the expression in the Expression text box.

3. Click Display.

The Data Display window opens, showing the value of the selected variable in the Data History list. Each time the program stops, the Data Display window displays the current value of the variable, indicated by an orange, boomerang-shaped arrow.

You can monitor more than one variable at a time. The Data Display window displays each of the expressions you are currently viewing.

To track additional expressions, use the New Expression Dialog Box. Choose Display New Expression from the Data Display window.


Note - If the expression you want to display is visible in the editor window or the Debugging window, select the expression in the window and choose Data Display Selected.

You open the pop-up menus by placing the pointer anywhere withinthe Data Display window and pressing the right mouse button.

If you removed an expression from the Data Display window, but need to
view it again, you can retrieve it by choosing Display Redisplay expression
list
.