To calculate a call graph, click
Generate
graph in the tool bar or select Edit->Generate graph
from JProfiler's main menu. If a graph has been calculated, the context menu also
provides access to this action.
Before a graph is calculated, the
method graph wizard
is brought up. The resulting graph is static and can be re-calculated be executing
Generate
graph again. The method graph wizard remembers your last selection.
The percentage base is
By default, the method graph only shows the direct incoming and outgoing calls of the initially selected methods. You can expand the graph by double clicking on any method. This will expand the direct incoming and outgoing calls for that method. Selective actions for expanding the graph are available in the toolbar, the Edit menu and the context menu:
Show calling methods
Show called methods
Add methods to graph,
to add other unrelated methods to the graph.
The method selection dialog
will then be displayed.
You can hide methods by selecting them and pressing the delete key. You can select multiple methods and delete them together.
The reference graph offers a number of navigation and zoom options.