This project has moved. For the latest updates, please go here.
1
Vote

VLD can't find pdb with relative path

description

I dont run my exe from the standard location in Visual Studio and have set a custom working directory vld seems to not find my PDB file even though its next to the exe.

When I turn on DBGHELP_DBGOUT the output is this:

DBGHELP: D:\SDK\Demo\SpaceSim\SpaceSim\NewSpaceSim....\bin\SpaceSim_x64d.pdb - file not found
DBGHELP: D:\SDK\Demo\SpaceSim\SpaceSim\NewSpaceSim....\bin\exe\SpaceSim_x64d.pdb - file not found
DBGHELP: D:\SDK\Demo\SpaceSim\SpaceSim\NewSpaceSim....\bin\symbols\exe\SpaceSim_x64d.pdb - file not found
DBGHELP: .\SpaceSim_x64d.pdb - file not found
DBGHELP: .\exe\SpaceSim_x64d.pdb - file not found
DBGHELP: .\symbols\exe\SpaceSim_x64d.pdb - file not found

When I use the first path in the output in notepad to open the file it opens the file for me.

comments

NightCreature wrote Mar 25 at 1:57 AM

DBGHELP: D:\SDK\Demo\SpaceSim\SpaceSim\NewSpaceSim\..\..\bin\SpaceSim_x64d.pdb - file not found
DBGHELP: D:\SDK\Demo\SpaceSim\SpaceSim\NewSpaceSim\..\..\bin\exe\SpaceSim_x64d.pdb - file not found
DBGHELP: D:\SDK\Demo\SpaceSim\SpaceSim\NewSpaceSim\..\..\bin\symbols\exe\SpaceSim_x64d.pdb - file not found
DBGHELP: .\SpaceSim_x64d.pdb - file not found
DBGHELP: .\exe\SpaceSim_x64d.pdb - file not found
DBGHELP: .\symbols\exe\SpaceSim_x64d.pdb - file not found

some slashes were swallowed in the previous post in the paths