I've found View Call Hierarchy
helpful in making sense of new code. Can it be automated ?Now, I'm clicking on every method and hitting (Ctrl+K,Ctr+T). Is it possible to generate Call Hierarchy for a class? Thanks in advance.
There are some fantastic 3rd party applications out there. nDepend is a sophisticated tool that maps out your assemblies and generates all sorts of metrics on your code. It also does some interesting things like comparing your assemblies with previous builds to determine when/if you break public APIs.
Here are explanations about how to generate call hierarchy for all methods at once with NDepend.
If you're more interested in a look at the call hierarchy during runtime, so far I've been a really big fan of ANTS Performance Profiler. You can profile your code for a span of time, then drill into code that was running at a certain point in time, and then generate an exportable call graph which displays the percentage of time spent in each method. It's awesome.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With