C/C++ preprocessor macro support
Use the GNU Compiler Collection (GCC) to include the preprocessor macros in the debugging information by adding the -g3 option to your compile options.
When you use the -g3 option, you can use C preprocessor macros in the expression evaluation.
For example, if you have the following macro in your code: #define MAX(x,y) x > y ? x : y
You can enter an expression by using the MAX(1,2) macro, which would display as the result of the value 2.
This option is useful when using a structure such as the ecbptr function, which uses many defines to reference the field names.
Notes:
- Using the -g3 option typically increases the size of the debugging information.
- C/C++ preprocessor macros are not supported by the Systems/C and Systems/C++ compilers.