Advanced .NET Debugging (Paperback)

Mario Hewardt

  • 出版商: Addison Wesley
  • 出版日期: 2009-11-01
  • 售價: $2,100
  • 貴賓價: 9.5$1,995
  • 語言: 英文
  • 頁數: 552
  • 裝訂: Paperback
  • ISBN: 0321578899
  • ISBN-13: 9780321578891
  • 相關分類: .NET
  • 立即出貨




“Mario Hewardt’s Advanced .NET Debugging is an excellent resource for both beginner and experienced developers working with .NET. The book is also packed with many debugging tips and discussions of CLR internals, which will benefit developers architecting software.”

–Jeffrey Richter, consultant, trainer, and author at Wintellect


“Mario has done it again. His Advanced Windows Debugging (coauthored with Daniel Pravat) is an invaluable resource for native code debugging, and Advanced .NET Debugging achieves the same quality, clarity, and breadth to make it just as invaluable for .NET debugging.”

–Mark Russinovich, Technical Fellow, Microsoft Corporation

The Only Complete, Practical Guide to Fixing the Toughest .NET Bugs


Advanced .NET Debugging is the first focused, pragmatic guide to tracking down today’s most complex and challenging .NET application bugs. It is the only book to focus entirely on using powerful native debugging tools, including WinDBG, NTSD, and CDB, to debug .NET applications. Using these tools, author Mario Hewardt explains how to identify the real root causes of problems—far more quickly than you ever could with other debuggers.


Hewardt first introduces the key concepts needed to successfully use .NET’s native debuggers. Next, he turns to sophisticated debugging techniques, using real-world examples that demonstrate many common C# programming errors.


This book enables you to

  • Make practical use of postmortem debugging, including PowerDBG and other “power tools”
  • Understand the debugging details and implications of the new .NET CLR 4.0
  • Master and successfully use Debugging Tools for Windows, as well as SOS, SOSEX, CLR Profiler, and other powerful tools
  • Gain a deeper, more practical understanding of CLR internals, such as examining thread-specific data, managed heap and garbage collector, interoperability layer, and .NET exceptions
  • Solve difficult synchronization problems, managed heap problems, interoperability problems, and much more
  • Generate and successfully analyze crash dumps 

A companion web site ( contains all sample code, examples, and bonus content.



"《Advanced .NET Debugging》是Mario Hewardt為.NET開發人員提供的一本優秀資源,無論是初學者還是有經驗的開發人員都能從中受益。該書還包含許多調試技巧和CLR內部的討論,對於軟體架構師也非常有價值。" - Jeffrey Richter, Wintellect的顧問、培訓師和作者

"馬里奧再次做到了。他的《Advanced Windows Debugging》(與Daniel Pravat合著)是一本對於本機代碼調試非常有價值的資源,《Advanced .NET Debugging》同樣具有相同的質量、清晰度和廣度,對於.NET調試同樣非常有價值。" - Mark Russinovich, 微軟公司技術研究員


《Advanced .NET Debugging》是第一本專注於追蹤當今最複雜和具有挑戰性的.NET應用程式錯誤的實用指南。這是唯一一本完全專注於使用強大的本機調試工具(包括WinDBG、NTSD和CDB)來調試.NET應用程式的書籍。使用這些工具,作者Mario Hewardt解釋了如何比其他調試器更快速地識別問題的真正根本原因。



- 實際運用事後調試,包括PowerDBG和其他“強大工具”
- 瞭解新的.NET CLR 4.0的調試細節和影響
- 掌握並成功使用Windows調試工具,以及SOS、SOSEX、CLR Profiler和其他強大工具
- 更深入、更實用地瞭解CLR內部,例如檢查特定線程數據、管理堆和垃圾回收器、互操作層和.NET異常
- 解決困難的同步問題、管理堆問題、互操作問題等等
- 生成並成功分析崩潰轉儲