Call Hierarchy

The Call Hierarchy view is not shown in any perspective by default. To open it, select Window > Show View. In the Editor view, you can select Open Call Hierarchy in the context menu or press Ctrl+Alt+H to open this view.

The Call Hierarchy view shows the functions called from the selected function or the functions called by the selected function. Here, selected means that the function name is selected in the Editor view.

{}

The Call Hierarchy view

The Call Hierarchy view is not functional for all scripting languages. By default, it shows the functions called by the selected function as a tree. So, if you are in the main function, you will see the entire hierarchy of calls. If you select a particular function, the line number where it is called is shown in the Line column.

Click the Callees button ( ) to show all the functions called by the selected function. Click the Callers button ( ) to show all the functions that call the selected function. Click on a function in the tree to show the line where the function is called in the Line column and to activate or open the Editor view with the relevant file open and the call highlighted.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.