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: How to locate source file?

Tool/software: Code Composer Studio

I have a project named IP_Speaker_v5.

This program will be step at line 196, as in image.

Take a comparison between disassembly window and source file. We can tell that source file "exceptionhandler.asm" belongs to this project.

1.  I modified the source file and built project IP_Speaker_v5, but .out file did not update.

2. I cannot locate this source file in the project.

The above 2 hint gives me an idea that this source file is packaged into library.

3. I searched all over the lib and found nothing.

4. Take a notice in debug window. The path is ccsv6, which is the older path and is not used anymore.

Is there a way to find out the location of this source file via project itself?

   

  • Andy Lin94 said:

    1.  I modified the source file and built project IP_Speaker_v5, but .out file did not update.

    2. I cannot locate this source file in the project.

    The above 2 hint gives me an idea that this source file is packaged into library.

    This makes sense. I agree.

    Andy Lin94 said:
    4. Take a notice in debug window. The path is ccsv6, which is the older path and is not used anymore.

    Likely that old path reflects the location of the asm file when the library using that file was built.

    Andy Lin94 said:
    Is there a way to find out the location of this source file via project itself?

    I see that the asm is open in the editor and your tooltip shows the path for it. I assume that is where the location of the source file currently is in your environment?

    This thread seems related to your other post where I suggest the Modules view. Use the Modules view to see if the asm file is listed. If so, double-click on it to see if it can find it. I suspect it will not because the correlation is off.

  • This specific .asm file is listed in the module view, and its relative path is the same as the one that tooltip showed.

    After updating to newer version, debug window showed the correct path.

    However, although it's showing the correct path now, I'm not sure if this is resulting from CCS updating, or other actions, because I did import some libraries and rebuild it.