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.

CC1354R10: Enabling Debug-Only Code in TI-RTOS7 (CC1354R10 / CCS)

Part Number: CC1354R10

Dear TI Community,

Could you please advise whether it is possible, when using TI-RTOS7 and Code Composer Studio, to enable sections of code that should only run in debug mode?

For example, I would like to conditionally run certain code blocks using something like:

#ifdef DEBUG
    // Debug-only code
#endif

Please note, that I am not referring to build-configuration called Debug, I am referring to debugging with a debugger and stepping through code via breakpoints.

Thank you in advance for your guidance.

Brenton