As C++ devs, what tools outside your IDE do you use to optimize and detect potential problems with your code?
Also, what are their main strengths, i.e. why did you choose them over other tools ?
|
|
|
|
|||||||||||
|
|
For detecting leaks, I'll defer to others. For finding performance problems,
|
||||
|
AQTime to find bottlenecks, memory problems and lots of other things. Also I worked for a company where we used PC-Lint for static analysis. |
|||
|
|
|
I've used IBM/Rational Purify (for memory leaks) and Quantify, which is now called PurifyPlus. (This was several years ago, before I made a switch from C++ to .NET.) I used them on Windows as well as on Solaris and was happy with the performance improvements that resulted from the use of these products. |
|||
|
|
|
In Windows |
|||
|
|
|
AMD CodeAnalyst for performance analysis. It's free, integrates to Visual Studio (but works standalone as well). Despite its producer, it works fine also on Intel processors. MemoryValidator from SoftwareVerify is a great tool for memory bug tracking. It's quite costly but definitely worth the money - easy to use, no need to recompile/relink your code and has a plenty of features. On my Linux machine I use Valgrind for all the memory bug tracking - it's great and there's no real competition for it. |
|||
|
|
|
I didn't tried it yet but with Visual Studio, Visual Leak Detector seems to be popular: http://sites.google.com/site/dmoulding/vld |
|||
|
|