Variables in CCS

You can view Global Variables by doing either of the following.

  • Select ViewExpressions.

  • Select a variable name in code.

  • Right-click and select Add Watch Expression.

../_images/ccs_watch.png

Variable watch window. Note that you can cast values, get address and sizeof, etc.

  • Select ViewVariables to auto-variables that are present at the current location when stepping through code.

../_images/ccs_locals.png

Local variables. This screenshot is taken during execution of an application function.

../_images/ccs_theia_locals.png

CCS Theia Local variables. Once debug mode is entered you can view the local variables automatically.