[vtkusers] How to use vtkDebugLeaks .. ?
de Boer Ingo
I.deBoer at polytec.de
Wed May 25 02:27:57 EDT 2005
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