Vld cannot load debug symbols if incorrect dbghelp.dll is loaded. Seems that vld tries to load this dll first from the current directory where debugging program is located, then it looks for it using PATH environment variable.
If the correct version (C:\Program Files\Visual Leak Detector\bin\Win64\dbghelp.dll for x64 config for example) of this dll is placed in the same directory where executable (with its pdb) is located, then it correctly loads debug symbols.
As this dll is widely used across the whole system (I've found it in C:\Windows\system32 which is obviously also in PATH variable) then maybe it is possible to rename it somehow for vld and use this specific file? dbghelp_vld_x64.dll for vld_x64.dll for example.
Vld cannot load debug symbols if incorrect dbghelp.dll is loaded. Seems that vld tries to load this dll first from the current directory where debugging program is located, then it looks for it using PATH environment variable.
If the correct version (C:\Program Files\Visual Leak Detector\bin\Win64\dbghelp.dll for x64 config for example) of this dll is placed in the same directory where executable (with its pdb) is located, then it correctly loads debug symbols.
As this dll is widely used across the whole system (I've found it in C:\Windows\system32 which is obviously also in PATH variable) then maybe it is possible to rename it somehow for vld and use this specific file? dbghelp_vld_x64.dll for vld_x64.dll for example.