Modifying a Variable Value
When application execution is suspended at a breakpoint or paused between steps,
you can set new values to currently available variables and then resume execution
with the new values in effect. Changing variable values enables you to test
possible solutions and see the results at runtime.
You can modify the values of local and global variables, package variables,
items in currently running modules, and some system variables.
If a variable is read-only, the entire cell is highlighted when you try to
edit it. If the variable is modifiable, only the value in the cell is highlighted
when you select it.
To modify the current value of a variable:
- Display the appropriate debug window (Variables, Form Values,
Watch, PL/SQL Packages or Global/System Variables).
- Click inside the cell of the value you wish to change.
If the variable value is read-only, for example, display item values, the
entire cell is highlighted when you try to edit it. If the variable value
is modifiable, only the value in the cell is highlighted when you select it.
- Enter a new value.
If you enter an invalid value, a message box appears allowing you to change
the value or revert to the original value.
Related Topics
Form Values Window
Viewing Form Item Values of Currently Running
Modules
Viewing Global Variables
Viewing Instantiated Packages and Package Global
Variables
Viewing Local Variables
Viewing System Variables