Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ddengster/d9d356b12c14bd08306f731b8e8eee0d to your computer and use it in GitHub Desktop.
Save ddengster/d9d356b12c14bd08306f731b8e8eee0d to your computer and use it in GitHub Desktop.
Windbg quick setup
type PATH, click "Environment Variables", click 'New..'
Variable name: WINDBG
Variable value: "C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\windbg.exe"
Start a command prompt, cd to your working directory, do: %WINDBG%
!heap -p -a <leak address>
Reference:
https://www.deleaker.com/blog/2021/05/30/how-to-fix-memory-leaks-in-cpp-c-using-windbg/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment