Hello Daniel,
Thank you for your contribution.
CodeWarrior development environment enables you to have multiple build configurations, called build targets. All projects in the Freescale MQX RTOS contain at least two build targets:
• Debug target - Compiler optimizations are set low to enable easy debugging.
• Release target - Compiler optimizations are set to maximum, to achieve the smallest code size and fast execution. The resulting code is very hard to debug.
The difference between Release mode and Debug mode, is in Debug mode there will be debug information added into the executable. These debug information has no impact on performance.
You can build your application with optimization level O3 and still have debug information.
Please check the discussion about debug and release mode in CW in the next thread.
http://mcuoneclipse.com/2012/06/01/debug-vs-release/

Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------