How to install Visual Leak Detector (VLD) on Visual Studio 2019?

10,579

Just use fork of VLD by Azure instead. It supports last versions of Visual Studio without additional configuration and fixes some bugs:

Microsoft Fork

This fork was created to address some of the issues found in the original repo https://github.com/KindDragon/vld, which has not been updated since November 24, 2017. The changes in this repo can be merged back into the original repo if it is again accepting pull requests.

If you would like to contribute to this fork, please submit a pull request. It will be looked at on a "best effort" basis as our team is available.

Copied from README.md

Congratulations, now you can use VLD, just

#include <vld.h>
Share:
10,579
Dmitry
Author by

Dmitry

Updated on June 07, 2022

Comments

  • Dmitry
    Dmitry about 2 years

    I run setup file from Releases, and tried to follow official guide, but it has instructions for older versions only (Visual C++ 2010/2012/2013). I didn't find menus mentioned there. So how do I install vld on VS 2019?

  • Frank Heimes
    Frank Heimes almost 4 years
    But the Access Violation error in dbghelp.dll upon program exit, that was allegedly fixed with version 2.5.1, is back. So currently, VLD is of no use without fix (at least for me).