Development tools and procedures for C/C++ programming


Ok, I've been working on and off for a couple of weeks now on my first multi-threaded application that uses the GNU suite of tools. I'm starting to feel better about the attempt, but still need to get experiance and have no local community to draw from.

What checking aids can I use?  -- I've seen one or two libraries that will report on memory usage, and I seem to remember a code coverage test tool --- but I can't seem to find them again, and I don't want to miss the standard or assumed ones just because I'm new and have no other mentor/peer to guide me in this delevopment environment.

I'm looking for a list of any and all tools and/or links to documented development procedures specific to Linux/Unix/GNU development, including:

1) Detecting memory leaks
2) Code coverage -- where is the code spending most of its time
3) Performance tuning aids

Any takers?
daveburrowAsked:
Who is Participating?
 
sunnycoderConnect With a Mentor Commented:
Hi daveburrow,

> 1) Detecting memory leaks
tool - valgrind
library - dmalloc

> 2) Code coverage -- where is the code spending most of its time
gcov, gprof

> 3) Performance tuning aids
gprof will tell you where your code spends most of the time ... optimizing bottlenecks would help improve performance.

Cheers!
sunnycoder
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.