[gdal-dev] visual leak detector support

Norman Barker nbarker at ittvis.com
Fri Oct 17 11:14:31 EDT 2008


Cc'd the list

Thanks Ivan!  Any comments on how to enable this from the command line
so that when I run gdalinfo in debug I can see if I am leaking!

Thanks.

-----Original Message-----
From: Lucena, Ivan [mailto:ivan.lucena at pmldnet.com] 
Sent: Friday, October 17, 2008 8:38 AM
To: Norman Barker; 
Subject: Re: [gdal-dev] visual leak detector support

Hi Norman,

I think that Mateusz would be the person to answer it better and I am
not doing much use of MSVC this days, but I 
remember seen a message from VLD coming up at the end of the execution,
on the output window, even using 
those makefile projects (makgdal71.vcproj). Basically all the debugging
functionalities work for those kind of VC 
project, there is not reason why VLD shouldn't. I believe that VLD
should also work on command line. You probably 
need to change some setting on VLD to tell where to write the report.
But you are right, it is not working anymore. 
I think we need to check the compilation/debugging flags to see what is
going on. There was a big change at some 
point (a year ago?...) and it might be affecting the use of VLD.

Best regards,

Ivan


>  -------Original Message-------
>  From: Norman Barker <nbarker at ittvis.com>
>  Subject: [gdal-dev] visual leak detector support
>  Sent: Oct 16 '08 17:32
>  
>  Hi,
>  
>  I see that visual  leak detector support has been added to gdal
nmake.opt,
>  and I have turned this  on.
>  
>  However the visual  studio project files use a make file
configuration,
>  how do you actually get the  leak detector to work?
>  
>  The docs at [LINK: http://trac.osgeo.org/gdal/ticket/2009]
>  http://trac.osgeo.org/gdal/ticket/2009 are  a little sparse.
>  
>  thanks,
>  
>  Norman
>  
>  
>  --------------------
>  _______________________________________________
>  gdal-dev mailing list
>  [LINK: compose.php?to=gdal-dev at lists.osgeo.org]
gdal-dev at lists.osgeo.org
>  [LINK: http://lists.osgeo.org/mailman/listinfo/gdal-dev]
>  http://lists.osgeo.org/mailman/listinfo/gdal-dev



More information about the gdal-dev mailing list