I am looking for some Microsoft API that whould have the same capabilities for monitoring .NET applications as JVMTI has for Java applications. For example, I'd like to be able to see every method call and the time it took (I am able to do that on my Java applications with JVMTI). Thank you for your help.

有帮助吗?

解决方案

It sounds like you want the Profiling API. It's a complicated business, and one I haven't gone into myself before now, but that link should be a good starting point.

Of course, there are existing profilers can use too - I've mostly used dotTrace personally.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top