Part Number: TM4C123GH6PM
Hello,
How can I do #ifdef DEBUG ... #endif and when the CCS is at debug, the compiler will compile the ... statements\ but not when in release.
Best Regards,
C
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TM4C123GH6PM
Hello,
How can I do #ifdef DEBUG ... #endif and when the CCS is at debug, the compiler will compile the ... statements\ but not when in release.
Best Regards,
C
Hi Can,
I suppose you know how to manage the Configuration. While you are in Debug configuration, you will add DEBUG as a predefined symbol. When you compile in Debug mode, it will compile the debug statements within #ifdef DEBUG.
