Chapter 16. Advanced Debugging

Successful debugging is about asking the correct questions. Many (but not all) of those questions can be answered with the Microsoft Visual Studio Debugger. Some questions require the use of advanced debugging tools to find the answer. If an application deadlocks, what are the outstanding synchronization objects? When there is a memory leak, how much native memory has been allocated, compared to managed memory? Is a memory leak associated with a particular generation or with the large object heap? These and other questions cannot be answered by the Visual Studio Debugger, but they might be essential to resolving a problem quickly.

Effective debugging often is about having the correct tools. The .NET Framework includes ...

Get Programming Microsoft® Visual C#® 2008: The Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.