Skip to content

Incorrect version of dbghelp.dll is loaded #63

@serge-sb

Description

@serge-sb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions