Comments
3 comments
-
When you say it doesn't work, do you get a fault or does it just not show results for the cpp section please?
I ask because ANTS can only profile managed code, I'd expect no results for the unmanaged code. -
Peter_Laws said:When you say it doesn't work, do you get a fault or does it just not show results for the cpp section please?
I ask because ANTS can only profile managed code, I'd expect no results for the unmanaged code. -
I noticed that since migrating from .NET 4.8 to .NET 8.0, the profiler (ANTS or dotTrace) stops working correctly when a C++/CLI component is involved. As Peter Laws pointed out, ANTS Profiler is only designed to profile managed code, so it’s expected not to show anything for the unmanaged C++/CLI part—even if the app launches fine without crashing. It’d be great to hear if future updates might offer better support for mixed-mode scenarios or at least clearer messaging when unmanaged code paths are skipped.
Add comment
Please sign in to leave a comment.
https://stackoverflow.com/questions/79123745