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/CCSTUDIO-SITARA: Search functions not working

Part Number: CCSTUDIO-SITARA


Tool/software: Code Composer Studio

The CCS  C/C++ search and file search functions have suddenly stopped working on one of my projects. In another project in the same workspace, the search does work.  This leads me to suspect something is corrupted in the project, but I have no clue what.  It still builds and runs,  I just can no longer search for identifiers when I make changes.

This is CCS 6.1.3, on a Win7-64 PC.  I have tried re-installing CCS.  No change. The .metadata/.log file seems to show some error messages which were not there before this problem. I have attached it.

Updating to the latest CCS is not feasible

/cfs-file/__key/communityserver-discussions-components-files/81/6747.metadata.txt8814.metadata.zip at this time due to multiple developers and project constraints.  And if it is a problem with the project, that is not likely to fix it anyway.

Hopefully someone who knows how search is supposed to work can look at this and identify what is broken so I can correct it.

Thanks!

Gerry Belanger

  • Gerard Belanger1 said:
    The CCS  C/C++ search and file search functions have suddenly stopped working on one of my projects.

    If you haven't already tried this, could you select the project in the Project Explorer view, then select Refresh from the context menu and see if the Search works after that?

  • Unfortunately the project refresh did not help.

    This particular workspace has 10 projects. One is the main project with all of the SYS/BIOS aware code, and 9 static libraries which do not need to be RTOS aware. This was all working until yesterday morning when this search issue started.
    Gerry Belanger
  • That is quite strange. I suspect that cleaning the workspace or trying out a new workspace would not help in this case, but is certainly worth a shot. Have you tried that already>

    I'll also ask some folks to take a look at the metadata log you sent but there might be some delay due to the holidays.

  • Interestingly, late this morning, the problem mysteriously resolved itself. I do not think I did anything specific to fix it. I had resorted to an external editor (Notepad++) to get a find-in-files function, but after one search, CCS search started working.

    So the tactical problem is resolved, and since 6.1.3 is old, it may not be worth looking at the logs unless someone wants to make sure 7.x is not vulnerable to whatever happened here.

    Gerry Belanger
  • Thank you for the update and glad to hear that the problem is resolved (albeit a bit mysteriously).