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

1

5

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?

Squadron answered 17/10, 2019 at 19:44 Comment(1)
Maybe not possible: github.com/KindDragon/vld/issues/65Inlier
S
11

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>
Squadron answered 17/10, 2019 at 20:44 Comment(1)
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).Doublehung

© 2022 - 2024 — McMap. All rights reserved.