Hi all,
(Windows 7 64-bit, CCSv6.0.1.00040, MSP430F5510, MSP-FET430UIF)
Is there a way to check if there is a debugger attached and perform a function call only if there is.
Basically I can programme my MP430F5510 either using the .hex file or by using CCS whilst debugging and I only want to perform a certain function if I am debugging using CCS.
I know I can change the build configuration to Release or Debug and have a #define but I'm hoping for a cleaner way just in case I, or somebody else, forgets to change it.
Thank you,
Callum