| |||
| Home > Using Macros for Debugging > About using macros for debugging > Properties of macros | |||
Macros can:
have return values
contain C expressions
contain certain C statements
have arguments
define macro local variables
use conditional statements
call other macros and predefined macros
be used in expressions, where they return values
reference target variables and registers
reference user-defined variables, in debugger or target memory
execute most debugger CLI commands
be defined in a debugger command script.
Macros cannot:
be recursive
define global variables
define static variables
define other macros.