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

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top