Easiest way to watch all calls in a .NET application (profiling / instrumentation)

Viewed 368

I'm trying to write a .NET application that can profile other .NET processes and list all the calls that have been made by them including the values of the passed parameters.

I understand that writing my own profiler with something like "ICorProfilerCallback2" can help on this but it seems like a quite challenging task. Before undertaking it I want to be sure that's the only way to do this.

I looked into open source .NET profilers and alike such as part-cover, CLR Profiler v4.0 etc. but none of them seems like provide a managed API to do this, and they do much more than what I need (memory profiling etc.).

Is there any other way to do this? An easier way to do this kind of profiling? What are my options in here?

1 Answers
Related