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.

CCS5.0.3 Source Lookup?

I'm doing a non-project debug and I tried setting this in two differnet ways:

1.  Windows --> Preferences --> C/C++ --> Debug --> Common Source Lookup

2.  Launch the target configuration --> right click on the device that I want to debug --> Edit the ccxml file --> Source --> Add

Neither method appears to work, my source files are not found.  I do the equivalent procedure in CCS4 and it works fine.

Lee Holeva

 

  • Lee,

    Just checking, you did load the symbols (not the program itself) to the debugger as well, right? Without the symbols loaded the debugger can't correlate the addresses with the function names, variables, etc.

    I could see the symbols of a linux kernel running on the C6A8168 in my v5.0.3, but I followed a slightly modified approach to the Stop mode debug of the Linux debug page.

    In this case I modified the debug launch configuration (menu Run --> Debug Configurations). 

    - Created a new Debug Launch configuration under Code Composer Studio - Device Debugging

    - In the tab Main I populated the Target Configuration with the .ccxml file for the TI816x board

    - In the tab Program I selected the CortexA8 core in the drop-down menu and populated the field Program with the executable with symbols - I also checked the option Load Symbols Only.

    - In the tab Source I added the directory (or directories) of my source files.

    When I launched the debugger, the symbols were loaded and I could navigate in the sources, locate symbols on the Disassembly window, etc.

    Hope this helps,

    Rafael

     

  • Lee - My preferred method is to simply browse to the file when CCS can't find the first source file. There will be a button in the editor that will allow you to do this. Once you find the first file, CCS will find the rest via relative path from the first file. This method also has the best performance.

    Thanks

    ki

  • Hello,

    I have a similar problem so i thought i'd post it here:

    I wrote a programm to display a simple canvas on my display. The programm itself looks fine but when I debug it, and the widgetpaint funtion is about to return his value I get the error:

    No source available for "0x12c00"

    It doesn't give me the option of searching the source so I have no clue what to do, maybe you can help?

    Thanks!