This project has moved and is read-only. For the latest updates, please go here.

Excluding external libraries or dlls (VLD, Please just focus on my project source code)

Jul 27, 2012 at 4:41 PM

Hi
First i must say thank you for VLD, it's great
Im using VLD in my project, it work perfect but show all of my project dynamic or external libraries leaks(Third party DLLs such as DirectX dlls) . And make a massive report log and dump from my project.
Is there any way that i say to VLD that just report my project source memory leak and not dynamic links(not static link and other third party or external libraries) note that some of them are DirectX dlls and i don't need to know what happen on them or what leak exists on them.
I also tried to do that with following functions as mentioned in VLD documents, but don't work for me!
VLDSetModulesList(L"CG.dll;d3dcompi​ler_43.dll",false);
How can i fillter VLD on my source code?
How can i use VLDSetModulesList, After calling the function nothing happen? Any Sample or Demo can be very usefull.

Thank you for any help.
H.Ahmadi

Jul 27, 2012 at 4:51 PM
Edited Jul 27, 2012 at 4:52 PM

Just edit vld.ini in VLD foder. VLDSetModulesList only work before loading modules.

Jul 28, 2012 at 10:36 AM
KindDragon wrote:

Just edit vld.ini in VLD foder. VLDSetModulesList only work before loading modules.

I did it but seems that don't work for following warning! because i have also more that 100 warnings with same text as below:

WARNING: Visual Leak Detector: A module, d3dcompiler_43.dll, included in memory leak detection
does not have any debugging symbols available, or they could not be located.
Function names and/or line numbers for this module may not be available.

 

Jul 28, 2012 at 2:07 PM

Can you post your vld.ini?

Jul 28, 2012 at 2:44 PM
Edited Jul 28, 2012 at 2:46 PM
KindDragon wrote:

Can you post your vld.ini?

 

[Options]
VLD = on
AggregateDuplicates = yes
ForceIncludeModules = OgreMain_d.dll
MaxDataDump = 
MaxTraceFrames = 
ReportEncoding = ascii
ReportFile = 
ReportTo = debugger
SelfTest = off
StackWalkMethod = fast
StartDisabled = no
TraceInternalFrames = no
SkipHeapFreeLeaks = no