Is there an example setup for the .NET 4.0 profiler?

I know that for profiler 2.0 there is one: http://www.codeproject.com/KB/dotnet/dotnetprofiler.aspx But the profiler API has changed in .NET 4.0, and we need to consider the problems on the side in the process. I need an example to set up my own profiler. Does anyone know this? Thank!

+3
source share
1 answer

I have no actual example, but this post is exactly your question. Also check out the rest of his blog, there are more posts about 4.0 profilers (and profilers in general).

By the way, in the comments section of the linked blog, he says that the official source of profiler 4.0 is not ready, but when will he post about it. (Although it was 4 months ago or something like that.)

Edit: CLRProfiler 4.0 has just been released and contains the source code, so you got your sample; -)

+3
source

Source: https://habr.com/ru/post/1781368/


All Articles