Oracle® Solaris Studio 12.4: IDE Quick Start Tutorial

Exit Print View

Updated: October 2014
 
 

Using the Call Graph

The Call Graph window displays two views of the calling relationships between functions in the classes. A tree view shows the functions called from a selected function, or the functions that call that function. A graphical view shows the calling relationships using arrows between the called and calling functions.

  1. In the quote.cc file, right-click on the main function and choose Show Call Graph.

  2. The Call Graph window opens and displays a tree view and a graphical view of all of the functions called from the main function.

    image:Call Graph window

    If you do not see all of the functions shown in the screen shot, click Who is Called From the Function button on the left side of the Call Graph window to show who is called from the main function.

  3. Expand the end1 node to display the functions called by that function. Notice that the graph is updated to add the functions called by end1.

  4. Select the end1 node and click the Bring Into Focus button on the left side of the window to focus on the endl function, then click the Who Calls This Function button to view all of the functions that call the end1 function.

    image:Call Graph window
  5. Expand some of the nodes in the tree to see more functions.

    image:Call Graph window