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

VS2008 only output "New allocation at already allocated address:" #44

Closed xiaoliuzi closed 6 years ago

xiaoliuzi commented 6 years ago

Hello, everyone:

I use VLD in several projects under Visual Studio 2008(64bit). I have integrated it to my new project but it seems doesn't work at all.

I run the project in debug mode.

The output window only has:

VLD: New allocation at already allocated address: 0x0000000001E7CA00 with size: 576 and new size: 564

I can not see this message in other projects.

I also modify the vld.ini file and set [ReportTo] to both.

But the output file is empty.

Any help will be appreciated.

xiaoliuzi commented 6 years ago

I via Alt+F7 to open the attribute of the project

and set Configuration Properties | Linker | Debugging to Generate Debug Info.

and Start Debug Mode.

Now, it works.