Re: Debugging memory
- From: "Leandro A. F. Pereira" <leandro linuxmag com br>
- To: gtk-app-devel-list gnome org
- Subject: Re: Debugging memory
- Date: Fri, 4 Jun 2004 22:18:22 -0300
Quoted by a group of power elephants
For `Daniel Campos <danielcampos netcourrier com>'
On Saturday, 05 June 2004 (02:49):
Is there any parameter I can pass to an application or may be
compilation options for GTK/GDK/GLIB, so I can see a report (in stdout,
for example) of the memory leaks in a program? I'm writting some
complex classes and I would like to know If I really free all correctly.
You can use either valgrind (if you're developing in Linux/x86), or memprof
(this one is easier to use, but valgrind provides more options).
--
Leandro A. F. Pereira (oO) <leandro linuxmag com br>
/||\ www.mindcrisis.tk
"UNIX was not designed to stop you from doing stupid things, because
that would also stop you from doing clever things." - Doug Gwyn
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]