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.

CCSv5.4.0.00091 issue debugging - can't step from a breakpoint

I have tried looking to see if I can find solutions to this problem, but I can't seem to find any help online for this.

I have the latest code composer studio, and I find that when debugging my application, more often than not when I get to a break point, I can not step into/ step over / step out of/ run the program any longer.  Any time I try any of these issues, the execution remains at the line i set the break point at.

Some times it will work, where I can get step into and it will work as expected, and I never have this issue from that point on during execution.

But more often than not, on the first breakpoint of the execution, the program will not move on from the breakpoint no matter what I do.

I can't seem to find a specific instance where it happens vs. where it doesn't happen, it seems to be random.

This is very frustrating and is really starting to affect my production as I can't reliably debug programs to efficiently find the bug.

  • Hello,

    It sounds very much like you are trying to debug a program in flash and using a device with a limited number of hardware breakpoints. So you can reach the breakpoint but you cannot step afterwards since you are out of breakpoints. If you remove the breakpoint you reached, can you single step afterwards?

    Thanks

    ki

  • Hi Ki, thanks for the quick response.

    I still have the issue when I remove the breakpoint.  I have tried multiple different scenarios such as disabling all breakpoints and trying to move on, disabling the breakpoint then re-enabling, disabling the breakpoint then resetting then enabling the breakpoint, etc.  and nothing seems to do the job at getting the program counter to move forward.

    Also, i have seen this occur when i set just one breakpoint, and I know I have debugged with more than one breakpoint before.

  • What device and emulator are you using? And if you can provide a small test case (project and out file), that'd be great