Call and Callee Hierarchy
This feature helps to analyze the relation between functions.
This feature is available as a tool window at View → Tool Windows → Hierarchy.
To invoke it, please place the text cursor on the name of shell script function, for example
debug as in the screenshots below.
The call hierarchy displays which functions are calling your selected function.
In the screenshot below, the tool window on the right displays the functions calling
main is calling
debug at two different places and
print_usage is only calling it once.
The node of
print_usage can be expanded to learn which other functions are calling
Callee hierarchy works in the reverse direction. It displays which functions are called by your selected function. You can show callees instead of callers by clicking the icon on the toolbar.
In the screenshot below, the text cursor was on
main when this feature was invoked.
As you can see,
main is calling debug twice and
You can expand the node of
print_usage to learn which functions are called by