Reputation: 26334
complaining {
I always end up incredibly frustrated when I go to profile my code using Visual Studio 2008's profiler (from the Analyze menu option). It is one of the poorest designed features of VS, in my opinion, and I cringe every time I need use it.
}
I have a few questions concerning it's use, I'm hoping you guys can give me some pointers :-)
Upvotes: 4
Views: 1150
Reputation: 40699
Just a general comment. There are a couple reasons people profile.
These are very different goals.
If your reason is the second one, using a profiler is not the only way. See here
Upvotes: 1
Reputation: 70337
1.Do you need to have your projects built in Debug or Release to profile them?
Normally you use Release mode.
6.Can you recommend any good guides on using the VS2008 profiler?
Step 1, download ANTS Profiler.
Step 2, follow the easy to use on screen instructions.
Step 3, look at the easy to read reports.
Seriously, the Microsoft profiler is garbage compared to ANTS.
Upvotes: 1
Reputation: 4600
If you're finding it difficult to use, there's a really great .NET profiler called nprof, and if you're debugging non-CLR projects, AMD has a really spectacular statistical profiler called Code Analyst.
Both are free(!), and exceedingly easy to use. A much nicer alternative, and I expect from your post above you're about ready to ditch the VS builtin profiler anyway :)
Upvotes: 3
Reputation: 117330
I have the same feeling about that thing. I ended up writing my own (all I wanted was decent method call timing info).
Upvotes: 1