Search code examples
c#code-analysisstatic-analysisdynamic-analysis

Is there tool for .Net/C# to capture *run-time* dependencies between classes?


What tool I can use for .Net/C# project to capture run-time dependencies between classes ? I found this question to be very useful but the suggested tools capture a static dependency graph. I simply want to see graph of instantiations of classes.

I'm using VS 2008 (but can install other version if needed).

UPD: My goal is this. I have huge old codebase. It has (for example) 500 classes but because DB-driven workflow has changed over the years only (for example) 100 class are used now. That's why static dependency analysis will be too overwhelming to digest.


Solution

  • CLRProfiler can capture/display CallGraph: http://www.scribd.com/doc/3376247/CLRProfiler.

    The file format is documented, so you can add your own analisys.