Quantcast
Channel: Visual Leak Detector for Visual C++ 2008-2015
Viewing all articles
Browse latest Browse all 704

Commented Unassigned: VLD doesn't work with CppUnitTestFramework [10546]

$
0
0
I try to include vld header in my Unit Test project under Visual Studio 2012. And every time as I run tests in debug mode , error "Vstest.executionengine.x86.exe has stopped working" is occured. I created the Concole project with this test, and vld works fine. Сonclusion : VLD doesn't work in the VC 2012 unit test frameword (CppUnitTestFramework).

Please, fix it.
Comments: I am having a similar issue in Visual Studio 2013. I have a test project which staticly links to a library which is using VLD. Every time I try to run the tests, I get the following messages in the output window. All tests will then fail gracefully. First-chance exception at 0x710E3E69 (clr.dll) in vstest.executionengine.x86.exe: 0xC0000005: Access violation reading location 0x5A7E17F0. First-chance exception at 0x710E3E69 (clr.dll) in vstest.executionengine.x86.exe: 0xC0000005: Access violation reading location 0x5A7E17F0. Commenting or disabling the #include <vld> instruction during test execution workaround the issue, but it would be nice to get reports when running unit tests.

Viewing all articles
Browse latest Browse all 704

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>