Variables in CCS¶
You can view Global Variables by doing either of the following.
Select
View→Expressions.Select a variable name in code.
Right-click and select Add Watch Expression.
Variable watch window. Note that you can cast values, get address and sizeof, etc.¶
Select
View→Variablestoauto-variablesthat are present at the current location when stepping through code.
Local variables. This screenshot is taken during execution of an application function.¶
CCS Theia Local variables. Once debug mode is entered you can view the local variables automatically.¶