Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Profile managed code invoked via COM interop

Moderators: Vladimir Kondratyev, Anton Katilin

Profile managed code invoked via COM interop

Postby bentayloruk » Sat Jan 28, 2012 3:43 pm


I have an ASP.NET web application which uses a 3rd party ecommerce framework. I register a number of managed components for COM interop and their framework uses these components via COM interop (as the key parts of their system are written in C++). So, the calls I am trying to profile go something like this: ASP.NET code -> my COM Interop call to ecom framework -> their COM interop call to my managed components.

I am trying to profile the managed components that they call via COM interop. However, I do not see any of the stack for my managed components in the CPU Usage Estimation (they are definitely being called though and work is being done).

Is there anyway that I can make these calls appear? I am a YourKit license owner.


Posts: 1
Joined: Sat Jan 28, 2012 3:35 pm

Re: Profile managed code invoked via COM interop

Postby Anton Katilin » Mon Jan 30, 2012 1:55 pm

Hello Ben

Do you see those calls if you do:

1) CPU sampling?

2) CPU tracing?

Anyway, could you please provide snapshot file(s) demonstrating the problem.

user ftp
empty password

Best regards,
Anton Katilin
Posts: 5709
Joined: Wed Aug 11, 2004 8:37 am

Return to .NET Profiler

Who is online

Users browsing this forum: No registered users and 3 guests