Re: [gtk-list] Memory-fu



On Wed, 8 Sep 1999, Matthew D Allen wrote:

> 4.) What gdb texts will give me an idea of how to find memory leaks using
> gdb?  I inspect all of my vars after a program run, and they all seem to
> be NULL (0x0)  Any suggestions on further docs other than info/man/manual
> on how to find memory leaks?
> 

I am hardly an expert, but I have played with Electric Fence some, and it
is pretty neat.  As far as I can tell it is C only (no C++), but you link
you application with it, and then it shows you memory leak info, and where
the memory was leaked from.  It's in Debian for sure, and I think most
distributions include it as standard.  Check you favorite search engine to
find a tar ball online.

-luck,
 emile



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]