Debugging is hard to do and hard to learn. Each bug is different, and there is no single path to learn how to tackle memory leaks or concurrency issues. It also requires an understanding of multiple software layers, starting with C#, through intermediate language, down to the operating system, and the machine code level. In this workshop, we’ll see .NET under the hood. We will use debuggers to understand type safety, memory management, or concurrency primitives. We will learn how to debug the platform when something goes wrong.
Objectives:
- Understanding of Windows and x86 CPU architecture, how they work together and how they are used by .NET platform.
- Understanding of various .NET mechanisms, memory structures, exception handling, asynchronous programming.
- Common debugging scenarios with WinDBG, including memory management, concurrency, garbage collection.
- Tools helpful for post-mortem debugging and investigation.
Requirements:
- Windows 10 running on x86_64 architecture
- Visual Studio 2022
- .NET 7+
- .NET Framework 4.8
- dnSpy