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.

Not able to put the break point in release mode using CCS version 5.2

Not able to put the break point in release mode using CCS version 5.2

The break point is not getting activated in the release mode / We are not able to step in to the function in release mode

CCS version 5.2

MSP 430F1611IPM

Can we put the break point in release mode?

  • sini sebastian said:

    Not able to put the break point in release mode using CCS version 5.2

    The break point is not getting activated in the release mode / We are not able to step in to the function in release mode

    If the code has been optimized, as is likely in release mode, then the debugger may not be able to associate a source line on which to set the breakpoint. Try opening the disassembly view and setting a breakpoint on an assembly instruction in that view.

    This wiki article which talks about the trade-off between debug and optimization might be helpful to understand the reason for such behavior:
    http://processors.wiki.ti.com/index.php/Debug_versus_Optimization_Tradeoff