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.

CCS/MSP430FR2433: Debugging and Creating Optimized Code

Part Number: MSP430FR2433


Tool/software: Code Composer Studio

When the compiler optimization is off, I am able to use debug mode for stepping through each instruction, but when optimization is on, I am not able to debug my code because the debugger will skip over instructions. Is their a proper way to use the optimizing compiler? For example, should I first develop my code with no optimization, and then after my code is bug free, then optimize it? Is that the proper way to go about using optimization?