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.

Viewing source C code when stepping with debugger



I'm currently using a Spectrum Digital C2000 emulator and would like to step through a project viewing C code (in CCS 5.2.1.00018).
First I build in debug mode, launch the target configuration, connect target and load program (.out file).


However, the debug perspective only shows the info below. Can you help me get CCS configured to view C code while debugging with the emulator?

  • Hi,

    Despite you are using the "Debug" configuration, it is possible that somehow the compiler option that enables debug symbols is disabled.

    Can you check your compiler options carefully and see if you have an entry similar to what is shown below: --symdebug:dwarf or -g

    Hope this helps,

    Rafael