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 v5.3.0.00090 breakpoints issue



Hi, I am trying to set  breakpoints inside few functions in my code for DSP 6657  project, but it is automatically disabled with an error saying no code associated with this line in any loaded symbols. I tried to lookup the name in module section and also in the map file, for those functions, but could find them. all these functions reside in separate .c files, and I can see these files being built and linked in console. Also All optimizations are off, and full symbolic debug is turned on. This code was in working condition before this. Can anyone suggest how should I proceed? 

Thanks

Kedar

  • Kedar Josh said:
    I tried to lookup the name in module section and also in the map file, for those functions, but could find them.

    Did you mean to say you could find them or could not find them?

    Even if optimization is turned off, it is possible for the linker to remove sections that are not being referenced. Without looking at the code I cannot tell for sure if that is what is happening in this case though.

    Have you tried setting breakpoints in the disassembly view (on an assembly instruction instead of a C source line)?

  • Thanks Aarti for your reply. There was something in my code which was setting the conditional to zero, and hence the code was dereferenced by linker. Now its working again!

    Kedar