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

Frequently Asked Questions


When I try to compile my program with VLD, it fails and the compiler gives this error: Cannot open include file: 'vld.h': No such file or directory.
The compiler can't find the header file that VLD installed. This probably means that VLD's include subdirectory has not been added to the Visual C++ include search path. See the section above about Using Visual Leak Detector for instructions on how to add VLD's directories to the search path.
In the memory leak report, the callstack contains many lines that say "File and line number unvailable" or "Function name unavailable".
This may mean that VLD couldn't find the symbol database for your program. The symbol database is ususally in a file named my-program-name.pdb. If this file is not located in the same directory as the program itself, then VLD will probably not find it and can't show any file or function names. Set environment variable DBGHELP_DBGOUT to check this.

Last edited Apr 6, 2014 at 11:13 PM by KindDragon, version 3

Comments

TheEmbroideryWare Jan 11, 2014 at 4:04 PM 
I am having the exact same problem. I have moved the PDB file around to different directories too.

mikefulton Jan 4, 2013 at 2:04 PM 
My symbol database file is in the same file as the program file, but I'm still getting the error messages.

The FAQ item says... it "may" mean that it can't find the PDB file. What are the other possibilities?