Profiling devenv.exe with 4.5.0

Questions about YourKit .NET Profiler
Post Reply
dmatveev
Posts: 4
Joined: Tue Sep 08, 2009 11:15 am

Profiling devenv.exe with 4.5.0

Post by dmatveev »

Hello!
I've tried to use new version (4.5.0) of YourKit .NET profiler and it seems to have some problems with profiling Visual Studio 2005 instances (process name: devenv.exe). After Visual Studio is started there are few seconds then devenv.exe process is visible in "Monitor Local Applications" frame and it's possible to connect to this process, but then devenv.exe process is removed from process list and in connection window there is a message saying: "Local application "devenv.exe" at port N has terminated or connection is lost". The VS process isn't terminated at this point. Version 4.0.8 isn't suffering from that issue.

The profiling is enabled for all applications (all predefined exceptions are removed) and other applications are successfully can be profiled.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Profiling devenv.exe with 4.5.0

Post by Anton Katilin »

Hello,

Thank you for the report.

This behavior is cased by a Visual Studio profiler plugin which leads to incorrect detection of devenv.exe by the profiler. We'll fix this problem in 4.5.1.

This problem only affects devenv.exe which cannot be profiled itself, which should not be a problem unless you develop VS or its plugins. Other applications are not affected.

Best regards,
Anton
dmatveev
Posts: 4
Joined: Tue Sep 08, 2009 11:15 am

Re: Profiling devenv.exe with 4.5.0

Post by dmatveev »

The project I want to profile is VS plugin. Can I workaround this somehow? Can I disable VS extension and is there any chances that this will help me?
dmatveev
Posts: 4
Joined: Tue Sep 08, 2009 11:15 am

Re: Profiling devenv.exe with 4.5.0

Post by dmatveev »

I've disabled profiler add-in and now everything is working fine. Thank you.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Profiling devenv.exe with 4.5.0

Post by Anton Katilin »

Please try 4.5.1:
http://www.yourkit.com/dotnet/download/ ... r-.NET.exe

Could you please confirm that it solves the problem.

(Please do not forget to uninstall 4.5.0 before installing 4.5.1)
dmatveev
Posts: 4
Joined: Tue Sep 08, 2009 11:15 am

Re: Profiling devenv.exe with 4.5.0

Post by dmatveev »

Yes, it solves the problem. Thank you.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Profiling devenv.exe with 4.5.0

Post by Anton Katilin »

Thank you for the notification.
Post Reply