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.

Breakpoints in CCS5

I'm having trouble setting breakpoints in CCS 5.1.1.00031.  When I set them they show up with slashes and won't halt at that location.  I have no idea.

Thanks,

-Ken

  • Hey Ken, did you build in DEBUG mode?  (Do a project rebuild or clean+build; make sure active Config is DEBUG)

    If so, then perhaps we might want to look at the maketitle or Eclipse build Config options. The specific option is compiler dependent but for GNU it's usually -g or pref -ggdb

    You can check using the file(1) command if the object file is not stripped (I.e. has debug info of some sort)

  • Did you build your project with file->index>rebuild options..Because once you made any changes to modules, this will be needed to set breakpoints at modified locations..

  • Ken,

    Make sure when you make edits that you save the file and then hit the debug button again - this should recompile and then download the updated code to your board.

    John