joeware - never stop exploring... :)

Information about joeware mixed with wild and crazy opinions...

Visual Studio 2017 and Visual Leak Detector

by @ 6:21 pm on 9/23/2017. Filed under tech

Visual Leak Detector is very cool. Great open source project. It is on CodePlex (https://vld.codeplex.com/) but since that is shutting down it appears to have moved to GIT (https://github.com/developkits/VisualLeakDetector).

The latest version (2.5.1) didn’t originally work fully with Visual Studio. BY default it only listed offsets versus full function names and line numbers.

Luckily I found a real useful post on CodePlex that explained how to “fix” it at https://vld.codeplex.com/discussions/662076.

Basically you need to copy the new VS2017 dbghelp.dll files to the proper folders.

Specifically look in the folder

%ProgramFiles(x86)%\Microsoft Visual Studio\2017\<VERSION>\Common7\IDE\CommonExtensions\Microsoft\TestWindow\Extensions\CppUnitFramework

for dbghelp.dll (32 bit version) and x64\dbghelp.dll (64 bit version)

and copy them to

%ProgramFiles(x86)%\Visual Leak Detector\bin\Win32 (32 bit version)

and

%ProgramFiles(x86)%\Visual Leak Detector\bin\Win64 (64 bit version)

Rating 4.50 out of 5

Comments are closed.

[joeware – never stop exploring… :) is proudly powered by WordPress.]