API problem calling StartCPUProfiling

Questions about YourKit .NET Profiler
Post Reply
mbuchetics
Posts: 2
Joined: Fri Dec 11, 2009 10:47 am

API problem calling StartCPUProfiling

Post by mbuchetics »

This is my simple test code:

Code: Select all

var c = new Controller();
c.StartCPUProfiling(Controller.CPU_SAMPLING, Controller.DEFAULT_FILTERS, Controller.DEFAULT_WALLTIME_SPEC);
c.StopCPUProfiling();
The controller is created (when I check its members, all data seems to be correct), but when calling StartCPUProfiling the application simply hangs and does not exit the method at all. I have to shut down the application.

I am using version 4.5.5. Profiling works fine without the API.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: API problem calling StartCPUProfiling

Post by Anton Katilin »

Hello,

We're looking at this issue. We'll post an update on this issue ASAP.

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

Re: API problem calling StartCPUProfiling

Post by Anton Katilin »

Hello,

4.5.6 should fix the problem.

It is available for download at http://www.yourkit.com/dotnet/download/

Could you please confirm.

Best regards,
Anton
mbuchetics
Posts: 2
Joined: Fri Dec 11, 2009 10:47 am

Re: API problem calling StartCPUProfiling

Post by mbuchetics »

It works, thank you!
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: API problem calling StartCPUProfiling

Post by Anton Katilin »

Great! Thank you for the notification.
Post Reply