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/CC2640R2F: CCS Cloud breakpointing idiosyncracy

Part Number: CC2640R2F

Tool/software: Code Composer Studio

Hi,

I am having problems getting CCS Cloud to breakpoint where I want it to.  In the example below from Project Zero, CCS Cloud will not breakpoint on line 501. It ignores this breakpoint and, instead, breakpoints on line 505.

This is just one example taken from original code. IN my code, the same thing happens. I can't get it to breakpoint where I want it to. What am I missing?

Regards,

AC

  • AC,

    In general, optimized code may cause this - sometimes the optimizer reorders or suppresses code to achieve better performance and the debugger may become confused when correlating the exact source code line with the memory address.

    When using the Cloud tools, it is harder to properly evaluate this scenario as the Disassembly view is not available. In this case, I would instead try to set a breakpoint at a point located before that particular line so you can step and see how it behaves until it reaches line 501 and immediately after it.

    Unfortunately there is no other way to increase the granularity of the step operations using the Cloud Tools. Sorry.

    Hope this helps,
    Rafael