There are several ways to search for instances of a function:
1. Open Call Hierarchy
2. Find References
3. Search Text
I am unable to get "Open Call Hierarchy" to work. The resulting list of callers is empty. By contrast "Search Text" reveals many hits for the function I am searching for. Compare the results from the different methods below.
Open Call Hierarchy (Ctrl + Alt + H)
References (Ctrl + Shift + G)
Search Text (Ctrl + Alt + G)
Is there a way to get Open Call Hierarchy to work? I have tried rebuilding the project Index, but that doesn't make a difference.
Solved! Go to Solution.
Yes, my first advice would have been to rebuild the index too.
As this does not help: is it only not working for that function, or for other callers/callees too?
Make sure have not the 'hide' turned on:
Plus I see that you have the utilities in the VCS, but your icon decorator indicates that it is not included in the build?
See https://mcuoneclipse.com/2012/07/30/icon-and-label-decorators-in-eclipse/ for the decorators and https://mcuoneclipse.com/2014/07/22/exclude-source-files-from-build-in-eclipse/ for how to include/exclude from build. Your folder icon shall look like this:
I hope this helps,
Erich
Thank you. Having folders marked as "Exclude resource from build" was indeed the problem (although the project built just fine, so I'm confused about that). I'm also not sure when the "Exclude resource from build" checkbox would have been checked.
As long as your application does not use the utilities, you will be able to compile and link without problems. I have seen that adding/removing SDK components marking folders as excluded, not sure why.
Yes, my first advice would have been to rebuild the index too.
As this does not help: is it only not working for that function, or for other callers/callees too?
Make sure have not the 'hide' turned on:
Plus I see that you have the utilities in the VCS, but your icon decorator indicates that it is not included in the build?
See https://mcuoneclipse.com/2012/07/30/icon-and-label-decorators-in-eclipse/ for the decorators and https://mcuoneclipse.com/2014/07/22/exclude-source-files-from-build-in-eclipse/ for how to include/exclude from build. Your folder icon shall look like this:
I hope this helps,
Erich