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.
Tool/software: Code Composer Studio
In version 9 and earlier of CCS, highlighting a variable name typically resulted in all instances of that variable being highlighted in a light grey and showed little boxes on the right side of the scrollbar to quickly jump to other references of the variable when clicked. In 10.1.1.00004 this no longer happens.
Thank you.
That option is checked for me. I tried toggling it off and on again and it's still not working. I'm using Windows 10 if that helps
OK, I was using CCS 10.1.1 under Linux. Will try under Windows.Justin Repperger said:I'm using Windows 10 if that helps
It is still working for me with CCs 10.1.1.00004 under Windows 10, for an existing or newly created workspace.
It looks like it has highlighted the write occurrence, but not the read occurrence. In the CCS preferences there are there are two types of Annotations for these, shown from a working installation:Justin Repperger said:It highlights one instance, but not the one right under it?
If your CCS preferences match the above, the issue might be with the indexer.
In which case, does Rebuild Index help?
My annotation settings are the same as yours it seems. I tried rebuilding the index and nothing changed. I unchecked all the boxes, clicked apply, rechecked the boxes, hit apply again, and then rebuilt the index again after that. Still not working strangely. There's another write occurrence later on in this function and that one is not being highlighted. I also closed and re-opened CCS after the last time I rebuilt the index to see if that helps, but that didn't make a difference.
I appreciate your help, I'm surprised nothing has worked so far.
In the CCS Project Explorer can you right-click on one source file which shows the problem, and then select Index -> Create Parser Log File and select a filename to save the log to. Are you able to attach the log file?Justin Repperger said:I tried rebuilding the index and nothing changed.
Interested if the parser displays any issues such as "Parser problems:" or "Unresolved names:" in the log.
[edited]
I created the log file and figured I would look through it myself before I post it here. It seems I was missing a curly bracket. I added the bracket and now everything is getting highlighted correctly again. I'll try to build and look for syntax errors before submitting a question again. Thank you for your time and help.