KindDragon / vld

Visual Leak Detector for Visual C++ 2008-2015
https://kinddragon.github.io/vld/
GNU Lesser General Public License v2.1
1.01k stars 314 forks source link

VLD generates no report/output #50

Open MarcusKoizar opened 6 years ago

MarcusKoizar commented 6 years ago

VLD generates no report/output at the end of the program. This occurs with Studio 2015 and Visual Studio 2017.

The debug output shows the following information at the startup of the application: Loaded 'D:\Visual Leak Detector\bin\Win32\vld_x86.dll'. Symbols loaded. Unloaded 'D:\Visual Leak Detector\bin\Win32\vld_x86.dll' Loaded 'D:\Visual Leak Detector\bin\Win32\vld_x86.dll'. Symbols loaded. Loaded 'D:\Visual Leak Detector\bin\Win32\dbghelp.dll'. Cannot find or open the PDB file. Unloaded 'D:\Visual Leak Detector\bin\Win32\dbghelp.dll' Loaded 'D:\Visual Leak Detector\bin\Win32\dbghelp.dll'. Cannot find or open the PDB file. Visual Leak Detector read settings from: D:\Visual Leak Detector\vld.ini Visual Leak Detector Version 2.5.1 installed. Outputting the report to the debugger and to D:\Visual Leak Detector\VLD_Report.txt Performing a memory leak self-test.

At the end of the application the output shows some memory leaks: Detected memory leaks! Dumping objects -> {59966} normal block at 0x0D1D6BF0, 16911 bytes long. Data: < k > CD CD CD CD CD CD CD CD FA FA FA FA F0 6B 1D 0D {59965} normal block at 0x0D1C8B88, 86 bytes long. Data: < ! " > D8 AC F3 0C 21 00 00 00 22 00 00 00 01 00 00 00 {59964} normal block at 0x0D2C3358, 96 bytes long. Data: < ' > D8 AC F3 0C 1F 00 00 00 27 00 00 00 01 00 00 00 {59963} normal block at 0x0D2C2FF8, 98 bytes long.

This is not the VLD output/report.

The file specified in the VLD.ini was created during startup but remains empty.

Windows 10 (x64, Version 1803) Visual Studio 2015 Professional Visual Studio 2017 Professional Latest version von VLD (2.5.1) Tried several dbghelp.dll from Program-Files, without any result.

sparkskapil commented 3 years ago

image Try changing this configuration as below. ReportTo = both