|
|
|
Copyright
|
|
|
|
Acknowledgments
|
|
|
|
Introduction
|
|
|
|
Part I: The Gestalt of Debugging
|
|
|
|
|
Chapter 1. Bugs: Where They Come From and How You Solve Them
|
|
|
|
|
Bugs and Debugging
|
|
|
|
|
Prerequisites to Debugging
|
|
|
|
|
The Debugging Process
|
|
|
|
|
Summary
|
|
|
|
|
Chapter 2. Preparing for Debugging
|
|
|
|
|
Track Changes Until You Throw Away the Project
|
|
|
|
|
Schedule Time for Building Debugging Systems
|
|
|
|
|
Frequent Builds and Smoke Tests Are Mandatory
|
|
|
|
|
Build the Installation Program Immediately
|
|
|
|
|
QA Must Test with Debug Builds
|
|
|
|
|
Set Up a Symbol Store
|
|
|
|
|
Set Up a Source Server
|
|
|
|
|
Summary
|
|
|
|
|
Chapter 3. Debugging During Coding
|
|
|
|
|
Assert, Assert, Assert, and Assert
|
|
|
|
|
Trace, Trace, Trace, and Trace
|
|
|
|
|
Comment, Comment, Comment, and Comment
|
|
|
|
|
Summary
|
|
|
|
|
Chapter 4. Common .NET Debugging Questions
|
|
|
|
|
Process- and Infrastructure-Related Questions
|
|
|
|
|
Visual Studio Bugs
|
|
|
|
|
Designing for Debugging
|
|
|
|
|
Debugger Questions
|
|
|
|
|
Debugging Scenario Questions
|
|
|
|
|
What Tools Do You Use?
|
|
|
|
|
Summary
|
|
|
|
Part II: Power Debugging
|
|
|
|
|
Chapter 5. Advanced Debugger Usage with Visual Studio
|
|
|
|
|
Advanced Breakpoints and How to Use Them
|
|
|
|
|
The Watch Window
|
|
|
|
|
Advanced Tips and Tricks
|
|
|
|
|
Summary
|
|
|
|
|
Chapter 6. WinDBG, SOS, and ADPlus
|
|
|
|
|
Before You Begin
|
|
|
|
|
Basics
|
|
|
|
|
The Command Window
|
|
|
|
|
SOS
|
|
|
|
|
ADPlus
|
|
|
|
|
Summary
|
|
|
|
Part III: Power Tools
|
|
|
|
|
Chapter 7. Extending the Visual Studio IDE
|
|
|
|
|
Extending with Macros
|
|
|
|
|
Visual Studio Add-Ins
|
|
|
|
|
Summary
|
|
|
|
|
Chapter 8. Writing Code Analysis Rules
|
|
|
|
|
Thinking About Rule Development
|
|
|
|
|
Basics of Rule Development
|
|
|
|
|
Advanced Rule Development
|
|
|
|
|
Summary
|
|
|
|
Reviewer Acclaim for Debugging Microsoft .NET 2.0 Applications
|
|
|
|
About the Author
|
|
|
|
Additional Resources for Developers
|
|
|
|
|
Visual Basic 2005
|
|
|
|
|
Visual C# 2005
|
|
|
|
|
Web Development
|
|
|
|
|
Database
|
|
|
|
|
SQL Server 2005
|
|
|
|
|
Other Visual Studio 2005 Topics
|
|
|
|
|
Other Developer Topics
|
|
|
|
More Great Developer Resources
|
|
|
|
|
Developer Step by Step
|
|
|
|
|
Developer Reference
|
|
|
|
|
Advanced Topics
|
|
|
|
Index
|