19

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?

Fire Lancer
  • 28,428
  • 27
  • 111
  • 175

4 Answers4

24

Microsoft has released stand-alone Profiler for VS 2008 here

Imran
  • 355
  • 2
  • 8
9

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
  • 16,205
  • 8
  • 54
  • 76
  • 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 Nov 04 '08 at 17:09
2

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

Community
  • 1
  • 1
Ant
  • 1,168
  • 11
  • 15
0

As I understood from reading a few sites, when you use VS 2008 stand alone profiler to create .vsp files, you will need either VS2008 Premium or Ultimate to view .vsp files.

By the way, I installed VS2012 Release candidate which is available for free (trial version?) and I can use its profiling engine.

Ajay
  • 17,472
  • 10
  • 53
  • 96
Michelle
  • 115
  • 1
  • 5
  • 13