I have been using Leak Detector for a couple of years and it was working a few months ago. I am using VLD version 2.3.
I added a leak to a program with: “Int* xxx = new(int);”
I ran the program using Visual Studio 2013. It displays the messages “Visual Leak Detector Version 2.3 installed” and “No memory leaks detected”. It did NOT report the leak.
I changed the Platform Toolset (in Properties > General) to “Visual Studio 2012 (v110)”. (I had to add the preprocessor definition _VARIADIC_MAX=10 to get it to compile.) This time the leak was reported.
I changed the Platform Toolset again to “Visual Studio 2010 (v100)”. The leak was reported here also.
I changed the Platform Toolset one more time to “Visual Studio 2008 (v90)”. The leak was again reported.
I changed back to “Visual Studio 2013 (v120)” and tried one more time. It still did not work.
Update 4 was added to Visual Studio 2013 on November 12. I wonder if something was changed that caused VLD not to work. Have you tested it with Visual Studio 2013 update 4? Do you have any idea of anything else that would cause this?
Comments: I'm not sure that 2.3 ever worked in vs2013 (not without manual tweaks) Why don't you use 2.4rc2 ? In the release notes it says: "+ VS2013 support added."
I added a leak to a program with: “Int* xxx = new(int);”
I ran the program using Visual Studio 2013. It displays the messages “Visual Leak Detector Version 2.3 installed” and “No memory leaks detected”. It did NOT report the leak.
I changed the Platform Toolset (in Properties > General) to “Visual Studio 2012 (v110)”. (I had to add the preprocessor definition _VARIADIC_MAX=10 to get it to compile.) This time the leak was reported.
I changed the Platform Toolset again to “Visual Studio 2010 (v100)”. The leak was reported here also.
I changed the Platform Toolset one more time to “Visual Studio 2008 (v90)”. The leak was again reported.
I changed back to “Visual Studio 2013 (v120)” and tried one more time. It still did not work.
Update 4 was added to Visual Studio 2013 on November 12. I wonder if something was changed that caused VLD not to work. Have you tested it with Visual Studio 2013 update 4? Do you have any idea of anything else that would cause this?
Comments: I'm not sure that 2.3 ever worked in vs2013 (not without manual tweaks) Why don't you use 2.4rc2 ? In the release notes it says: "+ VS2013 support added."