07.18 Using the Call Hierarchy

DEFAULT

Ctrl+K, Ctrl+T; Ctrl+K, T

VISUAL C++ 2

[no shortcut]

MENU

[Context Menu] | View Call Hierarchy

COMMAND

EditorContextMenus.CodeWindow.ViewCallHierarchy

VERSIONS

2010

LANGUAGES

C++, C#

CODE

vstipTool0005

The Call Hierarchy window allows you to visualize calls to and from a selected method, property, or constructor. To see how it works, just right-click any method, property, or constructor in the editor and select View Call Hierarchy:

image with no caption

You should get a window similar to the following:

image with no caption

Notice the Calls To and Calls From areas ...

Get Coding Faster: Getting More Productive with Microsoft® Visual Studio® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.