Saturday 5 March 2011

VisualStudio: Show Call Graph for method

Question:
How do I know the caller of my function?
Can I see the whole call graph in Visual Studio?



Answer:
You can right-click on a method and View all references ("Rechercher toutes les références" en français).
Or even better, In Visual Studio 2010 you can View the call hierarchy ("Afficher la hiérarchie d'appels").

A window will open where you can browse up and down in the caller graph.

No comments: