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.

CCSv6 debug cannot locate source file

Hello,

I have moved my H52C1 Concerto project from CCSv5 (where it worked) to CCSv6 (6.01.00040) and tirtos_c2000_2_10_01_38

When I debug it fails with this message:   Can't find a source file at "/db/vtree/library/trees/zumaprod/zumaprod-d38/tirtos_c2000_2_10_01_38/packages/ti/drivers/SPI.c"     Locate the file or edit the source lookup path to include its location.

I can see SPI.c at tirtos_c2000_2_10_01_38/packages/ti/drivers/

I have tried suggestions from other threads suggesting optimization may be the problem, including adding to the .cfg “BIOS.libType = BIOS.LibType_Debug;” and also setting library = Debug (fully configurable) with XGCONF, etc.  It makes no difference.

Any suggestions?

Regards,

Bernard

  • Hello Bernard,

    Sounds like what is happening is that you are halting in code from TI-RTOS and the debug symbols is looking for the source file in the location of where it was when the TI-RTOS library was built. It is pretty common for this to happen when trying to do source level debug for code from a library.

    The correct solution is to action use the button in the editor to browse for the file in the actual location. Once you do that, the debugger will find the source file and also update the root directory for searching for other source files so that subsequent files can be found.

    Thanks
    ki
  • Hi Ki,

    Thank you.  It worked.

    Best Regards,

    Bernard