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.

CCSv4: How is "debug" different than "whole_program_debug"?

 

Hi

When you create a project, you are asked to select whole_program_debug, debug, or release. What is the different between the first two?

I found this link that said using whole_program_debug can cause you problems, but it doesn't say what it does?

http://rtsc.eclipse.org/docs-tip/FAQ-080730-1

Cheers

  • Hmm, I wonder if  "whole program" optimizations means using the -pm option. You may want to ping the RTSC forum or BIOS forum...

  • Eddie,

    Section 2.5 of the BIOS6 Getting Started Guide (in CCSv4 go to Help --> BIOS 6.xx.xx.xx Help --> Getting Started Guide) explains the differences:

    "The default is whole_program. The "debug" profile allows you to step through the sources if sources are available. The "whole_program" profile has negligible debug symbols. The "whole_program_debug" profile has more debug symbols and improves the debug experience when compared to "whole_program".  It is recommended that production code be built with whole_program or whole_program_debug."

    I understand the location is a bit obscure to find, but at least it is easily searchable once the document is open.

    Hope this helps,

    Rafael