2.2.7. Call Hierarchy ViewΒΆ

The GNATbench Ada plugin also supports the Call Hierarchy View. This view shows all the invocations of a given subprogram or, alternatively, all subprograms invoked by that selected subprogram.

The view is opened by selecting the subprogram in question, right-clicking to invoke the contextual menu, and then selecting Open Call Hierarchy in that menu.

Alternatively, pressing control+alt+H will open the view on the subprogram currently selected.

The following is a Call Hierarchy View for a procedure named Display, showing the routines it invokes.

Call Hierarchy View for Ada