Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Looking for a C++ debugger on the Mac

Reply
Thread Tools

Looking for a C++ debugger on the Mac

 
 
CeliaC
Guest
Posts: n/a
 
      03-01-2007
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

 
Reply With Quote
 
 
 
 
mlimber
Guest
Posts: n/a
 
      03-01-2007
On Mar 1, 2:36 pm, CeliaC <C...@no.no> wrote:
> 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-lit...t.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

 
Reply With Quote
 
 
 
 
Eric Johnson
Guest
Posts: n/a
 
      03-01-2007
On Mar 1, 11:36 am, CeliaC <C...@no.no> wrote:
> 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


Hi Celia,

I recommend reading this:
http://developer.apple.com/documenta...dingLeaks.html


-Eric

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find if i have a Java debugger by looking in the registry? Dave -Turner Java 0 12-21-2006 08:42 AM
Need Help getting a debugger going for IE - any free debugger aflat362 Javascript 7 12-07-2006 10:51 PM
FreeRIDE on Mac OS X (or anything with a working debugger) Ashley Moran Ruby 0 10-28-2006 03:57 PM
Neither IE-Debugger or Mozilla/Venkman debugger can step through dynamically added code? Robert Oschler Javascript 1 09-05-2005 07:17 AM
debugger for mac OS X fred Javascript 2 09-26-2004 11:08 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57