| |||
| Home > Working with the CLI > Constructing expressions > Debugger variable symbols | |||
Debugger variables are created during a debugging session with the ADD CLI command, and all have global scope. When a debugger symbol is created you can assign it a data type (for example char, int, or long) and an initial value, but cannot assign initial values to struct, union, or class type symbols.
Debugger variables can be stored in either:
Debugger memory. The debugger allocates memory for the variable for you.
Target memory. You must specify a target memory address for the variable.