Debug Button in the Compiler

03 Apr 2013

Looking at libraries and programs there must more than a dozen variants of:

  • #if DEBUG
  • #ifndef NDEBUG
  • #if TESTING
  • #if LOGGING
  • #if ....

This is also fragmented in the mbed_official libraries. Could we get a selection button like compile to pass an option to the compiler as a preprocessor symbol?

This would make the transition from development to release using the compiler much easier IMO. Rapid Prototyping and Releasing :)

/media/uploads/sam_grove/cmp_add.jpg

03 Apr 2013

Good idea! Would be very nice to consolidate the debug and instrumentation strategies.

Simon