views:

9116

answers:

3

How do I use the profiler in Visual Studio 2008?

I know theres a build option in Config Properties -> Linker -> Advanced -> Profile (/PROFILE), however I can't find anything about actauly using it, only articles I was able to find appear to only apply to older versions of Visual Studio (eg most say to goto Build->Profile to bring up the profile dialog box, yet in 2008 there is no such menu item).

Is this because Visual Studio 2008 does not include a profiler, and if it does where is it and where is the documentation for it?

+7  A: 

The profiler is only available in the Team System editions of Visual Studio 2008. The last version that I used that included a profiler was Visual C++ 6.0.

For Visual Studio 2005, you could try Compuware DevPartner Performance Analysis Community Edition.

ChrisN
Supposedly Visual Studio 2010 will have a SKU priced below Team System that will include their new profiling tools (including a nice parallel profiler)
bsruth
+2  A: 

There was also a list of .NET profilers in the What Are Some Good .NET Profilers question.

Ant
+9  A: 

Microsoft has released stand-alone Profiler for VS 2008 here

Superhuman
Thank you, I didn't know of it's existence.
Hernán