4

Apologies if I missed this question already, but I searched and couldn't find it.

I have been out the C/C++ world for a little while and am back on a project. I was wondering what tools are preferred today to help with development.

The types of tools I'm referring to are:

  • Purify
  • Electric Fence
  • PC-Lint
  • cscope

Thanks!

Hortitude
  • 12,632
  • 16
  • 54
  • 71
  • 1
    Perhaps you didn't find any answer because those are two completely different classes of tools? –  Mar 10 '10 at 22:47
  • @Neil, I do recognize that they are different types of tools, but often people have a standard set of tools in their toolbag when working... – Hortitude Mar 11 '10 at 01:42

5 Answers5

1

You already have mentioned some of the (mostly free) alternatives. This depends on the platform again.

Windows:

  • VSTS 2008 is pretty good with its /analyze and profiling tools
  • Rational Purify (as you've mentioned)
  • BoundsChecker

Linux:

  • Valgrind

Mac:

  • Shark
  • CHUD
  • Sleuth
  • MalloDebug
dirkgently
  • 101,474
  • 16
  • 123
  • 183
1

Perhaps you could look at:

What open source c++ static analysis tools are available

Community
  • 1
  • 1
wheaties
  • 34,173
  • 12
  • 82
  • 126
0

I am quite impressed by Coverity. It's not perfect but it's the best static analysis tools I've worked with.

My favorite tool is still Valgrind.

R Samuel Klatchko
  • 70,693
  • 15
  • 126
  • 182
0

I recently discovered cppcheck probably not the best static checker but has highlighted some basic errors that has been dormant in our code for years.

It is quick and easy to use. It is free and open source. It is actively developed so I expect to see it catch new error soon.

iain
  • 10,489
  • 3
  • 32
  • 39
0

Windows:

Disclaimer: I am part of the team that makes those tools.

You've mentioned PC-Lint, you may want to try Visual Lint by RiverBlade which puts a nice GUI onto the results and integrates with Visual Studio.

Stephen Kellett
  • 2,715
  • 1
  • 19
  • 25