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

How to profile ASP.NET application without IIS?

Moderators: Vladimir Kondratyev, Anton Katilin

How to profile ASP.NET application without IIS?

Postby georgepayton » Mon Mar 19, 2007 9:15 pm

Greeings Yourkit

I was wonder how to profile an ASP.NET application that's using the Visual Studio built in web server, rather than IIS. When pressing the Profile button in Visual Studio, the web app starts, but YourKit UI can't connect.

Thanks :)
georgepayton
 
Posts: 3
Joined: Sat Jan 27, 2007 5:16 pm
Location: California, USA

Postby Anton Katilin » Tue Mar 20, 2007 1:27 pm

Hello,

Unfortunately, profiling of the built in server currently is not supported.

We'll add the support in the next version.

As a workaround, you can try putting the following keys to the registry before launching the built in server:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework]
"COR_ENABLE_PROFILING"=dword:00000001
"COR_PROFILER"="{D72CCA6A-149B-41A4-943A-74E9C55A1FC9}"

Please note that the GUID is profiler version dependent. This one works with version 2.0.5 of the profiler.

Please don't forget to set "COR_ENABLE_PROFILING" to zero after you connected to the profiled application from the profiler UI, otherwise all following .net applications will be started with the profiler as well.
Anton Katilin
 
Posts: 5576
Joined: Wed Aug 11, 2004 8:37 am

Postby georgepayton » Tue Mar 20, 2007 3:24 pm

Thanks Anton.

I think I will wait for the next version for now :)
georgepayton
 
Posts: 3
Joined: Sat Jan 27, 2007 5:16 pm
Location: California, USA


Return to .NET Profiler

Who is online

Users browsing this forum: No registered users and 4 guests