Looking for a C++ debugger on the Mac

C

CeliaC

I'm writing c++ using eclipse/gcc/gdb on a Mac OSX.

Does anyone know what I can use to find memory leaks and check bounds?

-Celia
 
M

mlimber

I'm writing c++ using eclipse/gcc/gdb on a Mac OSX.

Does anyone know what I can use to find memory leaks and check bounds?

Your question is off-topic here since it is platform specific. You'll
likely have better luck in a Mac programming group such as those
listed here:

http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9

In general, the best way to prevent memory (or any resource) leaks is
to prevent them in the first place by always using RAII to manage your
resources. std::vector, std::auto_ptr, std::tr1::shared_ptr, etc.
enable this idiom. Of course, you may be too far along to retrofit
your current project now, but you'll know for next time.

Cheers! --M
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top