A repository with code for demos/hands-on excercises of memory leak investigation workshop. Here you will find "mystery" apps that contain some sort of memory management related issue.
- Install Visual Studio 2019 Community or any IDE capable of compiling and running .Net 5.0 (If you don't have any installed, get Visual Studio for free from here
- Ensure .Net 5.0 SDK is installed. Get it from here
- Install WinDbg Preview from Windows Store.
- WinDbg requires a bit of configuring. Take a look at the following or use this blog post as a guide
Set up symbol resolution string. The format of the symbol string is cache[local cache folder 1][local cache folder 2];srv[local cache folder]*[symbol server path]*
Note 1: This will enable WinDbg to resolve symbols so proper stack traces can be displayed.
Note 2: !sym noisy on command will enable debug output to see what kind of symbols WinDbg looks for and why the resolution is missing. - Download Process Explorer from here. It will be useful for taking dumps of processes.
- Download and install Windows 10 SDK (you can download it from here). Make sure to tick Debugging Tools for Windows when you install