Profile managed code invoked via COM interop

Questions about YourKit .NET Profiler
Post Reply
bentayloruk
Posts: 1
Joined: Sat Jan 28, 2012 3:35 pm

Profile managed code invoked via COM interop

Post by bentayloruk »

Hi,

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.

Regards,

Ben
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Profile managed code invoked via COM interop

Post by Anton Katilin »

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.

ftp://upload.yourkit.com/pub/
user ftp
empty password


Best regards,
Anton
Post Reply