finding leaks in c/c++ code under windows

Easy way of finding leaks in C/C++ code: vld.

  1. Install it
  2. Add it to the include paths and to the directories
  3. Make sure the vld dll is in PATH ( may require an IDE restart )
  4. include in one of your sources
  5. run the code in debug
  6. check the output window, after you close the binary
  7. fix leaks


0 Responses to “finding leaks in c/c++ code under windows”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog Stats

  • 234,395 hits

%d bloggers like this: