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: Unable to put the break point in task file

Tool/software: Code Composer Studio

Hello All,

I am using Vision sdk TDA3x, In my Application Task is created and my whole code is present in that task file.

I want to debug that task file using ccs 7 but I am not able to put the break point in that file.

Please guide to put the break point in task.c file.

Thanks in advanced,

Poonam

  • Poonam,

    What exactly do you mean by not being able to put the breakpoint in a file? Does it show as a disabled breakpoint, the breakpoint is never reached or nothing happens when you try to set it up?

    In the first case, this happens if the core is running when you try to set the breakpoint. Also, this may happen if the Debugger is not able to access the memory where the code belongs (perhaps MMU is enabled).

    If the second scenario, many potential sources can cause this, as it indicates the device is running out of control or the code is simply not being able to reach the point due to other conditionals. Another scenario is if you try to set the breakpoint by a double-clicking on the left side of a line in the editor but a debug session is not active - this will set up an "Eclipse" breakpoint that is not used by the hardware debugger.

    If the third scenario, there is a possibility the breakpoint is being actually set further int he code - this is a common scenario when optimization is taking place and the entire segment of code is either optimized out or inlined.

    Is that happening with an example code? If so, that would be easier to try and reproduce this here.

    Regards,
    Rafael