This topic shows you how to view variables in your program while your are debugging your programs.
When you are debugging a program, you will probably have the debugger stop or pause at certain points in your program (see Using breakpoints in the EGL debugger for more information on using breakpoints to make the debugger pause while debugging your program). Whenever a program is paused, you can view the current values of the variables in the program.
You can display only those variables that match certain criteria. You can select variables to be excluded by name, or by characteristics of the variable.
To change a value, right-click the value and choose the appropriate option from the pop-up menu. The wording of the option varies depending on the context.
For more information, see "Buttons in the Variables view" in this topic.
In the Variables view, expand the parts in the navigator to see the variables that are associated with them.
Depending on your options as described below, there is also a Detail pane that displays the details of a highlighted variable. You can type a value for the variable in this pane, highlight that value, right-click, and click Assign Value to assign the value to the variable.
| Platform | Issue |
|---|---|
| Rich UI | Hot swapping is not supported. Similarly, the EGL debugger does not respond to changes made to variable values in the Variables view. |