Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

Updated Wiki: Running Leak Detection

$
0
0
Here are the instructions for running leak detection as part of each release:

1. Download Visual Leak Detector: https://vld.codeplex.com/releases
2. Build the product and tests using the msbuild property 'CASA_ENABLE_VLD':

msbuild /p:CASA_ENABLE_VLD=true

3. Run each of the tests dlls individually or by specifying test.dll to the TestRunner.
4. A summary of any discovered leaks will be presented at the end of execution including the call stack that performed the allocation.

Please note last time I ran for some reason I had to explicitly add the vld.lib to the <Link><AdditionalDependencies> for 2 of the winrt vcxprojs. I'm not sure why I didn't have time to investigate.

Viewing all articles
Browse latest Browse all 4845

Trending Articles



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