BoundsChecker is not finding my source files.

over 8 years ago


I've built my program with full debug information, (using the /Zi, /Od compiler options and the /pdb:FILENAME.pdb linker option) but BoundsChecker still says 'No source file' for those files. What can I do to get it to find my source files?


The first thing is to be sure that you have all occurrences of MSPDB*.DLL in your system PATH. (To do this quickly, you can simply just do a Find for this wildcard and copy them all to your System32 directory.)

With VC6.0, the default location for its MSPDB file is:

  Microsoft Visual Studio\Common\MSDev98\Bin

With VC5.0, the default location for its MSPDB file is:


With VC4.x, the default location for its MSPDB file is:


Be sure you have all MSPDB DLLs in your path to be sure that this is not the problem.

If you've verified the above and you still can't find source, it's generally because the PDB/EXE/source files have been moved around. This is generally not a good idea, as the paths are used in the debug information. You should also be sure that the PDB file is in the same directory as the executable.

Old KB# 12250
Comment List
Related Discussions