Tool/software:
Hi,
As the picture shown below, when hover onto an array, it shows address, not the actual value. Would like to have a feature similar to eclipse based CCS, that when hover on to it, it will show the actual value
Thanks,
Dazong
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:
Hi,
As the picture shown below, when hover onto an array, it shows address, not the actual value. Would like to have a feature similar to eclipse based CCS, that when hover on to it, it will show the actual value
Thanks,
Dazong
Hi Dazong,
I tested CCS with an int array, and it seems like the hover shows the correct value. See the screenshot below.
Looking at the screenshot which you posted, according to watch view, gUartHandle[0] is a Hex type value. So the hover value seems to be correct.
Could you try this feature again with a different array and see if you get output you expect?
Thanks,
Udit
Hi Udit,
Sorry for the delayed response.
I updated the CCS, and seem with a not too large struct/array things are working fine
But with a larger array like 4KB, the loading time seems take extreme long (minutes), could you please try a 4KB array on your side?
I have three more questions.
1. When I add a new function to my code, but not implemented yet, I noticed that some time CTRL+left click to navigate into other functions will not working, where I have to restart the CCS
2. Is there a similar functionality where we can go back to the file before CTRL+LEFT to dig into the function which is in another file.
In Eclipse we were able to do it by clicking these two buttons
3. We realize that CCS will automatically add header file, like uint32_t will add a header <cstint>, Tushar suggested to go with plain text mode, which turn the whole code text in white color, is there another workaround you can think about?
Thank you,
Dazong
Hi Dazong,
Would you be able to attach a CCS project where I can reproduce the issue with large arrays?
Addressing your other questions:
1) Source navigation is handled in CCS by a third party extension, clangd. By adding a new function, do you mean calling the function or declaring it? It is possible if adding of the new function is syntactically incomplete/incorrect, then code parsing by clangd would fail and we wouldn't be able to navigate to functions. If you have a specific project that you have seen this issue on, you can attach that I can see if it would be possible to improve clangd to work in those cases.
2) This functionality is available under the Go menu or through hotkeys.
You can also add it to the toolbar by right-clicking on the toolbar, selecting "Add Command to Toolbar" and then searching for "Go Back"/"Go Forward".
Another useful method of quickly navigating between recent files is pressing Ctrl+P which brings up the quick navigate menu.
3) Can you confirm which version of CCS you are using? This issue should be fixed in CCS 20.1.1 which was released just a few days ago. Can you try again with the latest CCS and see if you still face this issue?
Thanks for the great info Udit.
I updated CCS to 20.1.1, the adding header automatically problem seems gone.
Regarding the large array. I won't be able to share the whole project, but here is what could be.
Hi Dazong,
This issue was being caused by a bug in the IDE that was causing performance issues with large arrays.
This will be fixed as part of our next update in May.
Let me know if you have any other questions.
Udit
Hi Dazong,
You can track the progress here https://sir.ext.ti.com/jira/browse/EXT_EP-12355.
Patrick