Macros are generally not part of the DWARF debug information in the ELF file. The debugger can thus not know their values. But you can declare your macros in TRACE32:
sYmbol.CREATE.MACRO MACRO_1 < contents >
sYmbol.CREATE.MACRO MACRO_2 < contents >
sYmbol.CREATE.Done
You can display the list of manually created macros with:
sYmbol.List.MACRO
Sometimes, the compiler can also export the macro information into the ELF file. This is done for the GCC compiler using the command line -g3 option which exports the macro information in the ".debug_macinfo" section. If you are loading such an ELF file using the Data.LOAD.Elf command, use then the /MACRO option to import the macro information to TRACE32.
Comments (2)
You should use &temp=Var.Value(MACRO_1) instead of &temp = MACRO_1
I also do not recommend to use white spaces in PRACTICE expressions.