[vtkusers] How to use vtkDebugLeaks .. ?

Charles Boivin okeovtk at gmail.com
Tue May 31 12:28:26 EDT 2005


Thanks Ingo, I'll have a look at this. I had not heard of this before..

Charles

On 5/25/05, de Boer Ingo <I.deBoer at polytec.de> wrote:
> Hi,
> 
> I am not familiar with vtkDebugLeaks, but I see you are using
> VC++... We are using
> 
> http://www.codeproject.com/tools/visualleakdetector.asp
> 
> greets
>   Ingo
> 
> ---
> Dr.-Ing. Ingo H. de Boer
> 
> Polytec GmbH
> Polytec-Platz 1-7, 76337 Waldbronn, Germany
> phone: ++49 7243 604 106
> fax  : ++49 7243 604 255
> 
> 
> > -----Original Message-----
> > Subject: [vtkusers] How to use vtkDebugLeaks .. ?
> >
> >
> > I am trying to investigate leaks in my library, and I have just
> > recompiled the VTK binaries with the VTK_DEBUG_LEAKS option activated.
> > I then set up a test case to see if VTK would catch it..
> >
> > Here is what I did. In the constructor of my main class, I added this:
> >
> > vtkActor* pNewActor = vtkActor::New();
> >
> > And added nothing else to the destructor (on purpose). I expected VTK
> > to let me know about this one, but again, nothing! I guess I need to
> > know how to use this vtkDebugLeaks class a bit better...
> >
> > I am running VTK 4.4 on Windows XP, compiled with VS.NET 2003. What
> > behavior should I be expecting from vtkDebugLeaks? Is there anything
> > else that I need to turn on? I am using the libraries compiled in
> > 'Release' mode -- could that be the problem?
> >
> > Thanks in advance,
> >
> > Charles Boivin
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list