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.

Can't debug code that worked and was debugged a few days ago. CCS 10.1.1 - TMS320F28035

Why is this?

I recompiled the code, updated the CCS, restarted my computer, reset the device, went back to older versions that worked last week, etc.

And still - each time I try to debug code that worked it goes through the correct dialog boxes, but doesn't allow debugging - doesn't start at first line of main() and doesn't allow to Run, Pause, etc.

  • Mechi,

    Have you tried to clean the project and build?

    As you have updated the CCS, try to reimport the project and then build.

  • Yes. I've rebuilt several times - especially when using different versions of the code - all of which worked in the past.

  • Hi,

    Please create a new workspace and import the project in new workspace and build. 

  • Mechi,

    You may already be aware of this. Going by the snapshot you have sent, you should be selecting the C28x core you are running and not the emulator. I believe you can then see the Run/Pause dialogs. 

    Thanks & Regards

    Pramod 

  • Of course I choose the correct core and not emulator.

    I created a new workspace and a new project in a different folder.

    Copied all of the source files and was able to debug. I then copied the project files back into the original workspace - but I changed the name of the folder of the project.

    Can it be that the folder of the project had a <space> in the name - and this caused the problem? I renamed the folder and the project to be without spaces.

  • Take a look in "Breakpoints" window to see if you have any breakpoint memorized from the last debug session.

    I don't know why but sometimes this prevents ccs from enabling debugging, and the "run" button remains gray.

    Regards.

  • Mechi Fendel said:
    Can it be that the folder of the project had a <space> in the name - and this caused the problem? I renamed the folder and the project to be without spaces.

    Yes. Whitespaces in file/folder names can cause issues and should be avoided:

    https://e2e.ti.com/support/tools/ccs/f/81/t/740719