clr-profiling-api Questions

1

Solved

I'm currently debugging my company's CLR profiler (over ASP.NET 4.7.3282.0, .NET framework 4.7.2), and seeing a scenario in which the CLR unloads a generic class, but the ClassUnloadStarted callbac...
Sabinasabine asked 26/2, 2019 at 11:0

1

Solved

I'm currently writing a CLR profiler, and I came across something very odd. When throwing two different exceptions, one from the try clause and one from the catch clause, the CLR notifies me of the...
Reticulate asked 13/12, 2017 at 18:7

2

Solved

I've seen in it in the primary CLR dll, mscorlib.dll, and I've seen in it in this CLR Profiling API interface, ICorProfilerCallback2. Just curious: what does the word 'Cor' stand for?
Styptic asked 14/7, 2009 at 3:40

1

I am working on MSIL profiler and encountered problems with ManagedToUnmanagedTransition and UnmanagedToManagedTransition callbacks of ICorProfilerCallback interface. What I want to retrieve is an...
Apatite asked 7/6, 2012 at 13:59

1

I want to write a CLR profiler to hook our application function with GetILFunctionBody/SetILFunctionBody. I want to use DefineAssemblyRef to import our c# dll (for use in IL code) in this code De...
Jus asked 28/7, 2011 at 13:40

4

Solved

I've been looking at some of the articles for the CLR Profiling API, and many of those articles talk about calling SetILFunctionBody() to do the actual IL rewriting; however, none of those articles...
Katzenjammer asked 16/2, 2010 at 0:11

1

Solved

I just want to use .NET Profiling API (ICorProfilerCallback etc) but at the same time don't want to deal with C++. I've been looking around for a while and haven't found any example in C# but C# + ...
Inwrap asked 20/4, 2011 at 21:26

2

Solved

When using the unmanaged API for the .NET framework to profile a .NET process in-process, is it possible to look up the IL instruction pointer that correlates to the native instruction pointer prov...
Hocus asked 13/10, 2008 at 19:33
1

© 2022 - 2024 — McMap. All rights reserved.