Home > Store > Programming > Windows Programming
Advanced Windows Debugging
- By Mario Hewardt, Daniel Pravat
- Published Oct 29, 2007 by Addison-Wesley Professional. Part of the Addison-Wesley Microsoft Technology Series series.
- Copyright 2008
- Dimensions: 7x9-1/4
- Pages: 840
- Edition: 1st
- Book
- ISBN-10: 0-321-37446-0
- ISBN-13: 978-0-321-37446-2
Register your product to gain access to bonus material or receive a coupon.
Product Author Bios
Mario Hewardt is a senior design engineer with Microsoft, and has worked extensively in the Windows system level development area for the last nine years. He is currently involved with designing and implementing the next generation management protocol for Windows Longhorn.
Daniel Pravat is a senior design engineer with Microsoft and has worked in the Windows division, primarily within the Windows management area. He is currently leading a development team that has the responsibility of shipping the most reliable management platform for Windows Longhorn.
&>
-- Bob Wilton, Escalation Engineer, Critical Problem Resolution Team, Microsoft
“An excellent reference for both intermediate and advanced debuggers: highly practical, and filled with tricks and strategies. This book stands out from all other Win32 debugging literature, thanks to its in-depth examples–including resolving intricate problems like stack and heap corruptions.”
-- Kinshuman, Development Lead, Windows Core OS Division, Microsoft
The First In-Depth, Real-World, Insider’s Guide to Powerful Windows Debugging
For Windows developers, few tasks are more challenging than debugging–-or more crucial. Reliable and realistic information about Windows debugging has always been scarce. Now, with over 15 years of experience two of Microsoft’s system-level developers present a thorough and practical guide to Windows debugging ever written.
Mario Hewardt and Daniel Pravat cover debugging throughout the entire application lifecycle and show how to make the most of the tools currently available–-including Microsoft’s powerful native debuggers and third-party solutions.
To help you find real solutions fast, this book is organized around real-world debugging scenarios. Hewardt and Pravat use detailed code examples to illuminate the complex debugging challenges professional developers actually face. From core Windows operating system concepts to security, Windows® Vista™ and 64-bit debugging, they address emerging topics head-on–and nothing is ever oversimplified or glossed over!
This book enables you to
- Master today’s most powerful Windows debugging tools, including NTSD, CDB, WinDbg, KD, and ADPlus
- Debug code that wasn’t designed or written for easy debugging
- Understand debuggers “under the hood,” and manage symbols and sources efficiently
- Debug complex memory corruptions related to stacks and heaps
- Resolve complex security problems
- Debug across processes: identity tracking, RPC debugger extensions, and tracking IPCs with Ethereal
- Find and fix resource leaks, such as memory and handle leaks.
- Debug common thread synchronization problems
- Learn when and how to write custom debugger extensions
- Perform “postmortem debugging” using crash dumps and Windows Error Reporting
- Automate debugging with DebugDiag and the Analyze Debugger command
Whether you’re a system-level or application developer, Advanced Windows Debugging delivers the deep understanding of debugging that could save you weeks on your very next project.
Part I Overview
Chapter 1 Introduction to the Tools
Chapter 2 Introduction to the Debuggers
Chapter 3 Debugger Uncovered
Chapter 4 Managing Symbol and Source Files
Part II Applied Debugging
Chapter 5 Memory Corruptions Part I – Stacks
Chapter 6 Memory Corruptions Part I – Heaps
Chapter 7 Security
Chapter 8 Inter-process Communication
Chapter 9 Resource Leaks
Chapter 10 Synchronization
Part III Advanced Topics
Chapter 11 Writing Custom Debugger Extensions
Chapter 12 64-bit Debugging
Chapter 13 Postmortem Debugging
Chapter 14 Power Tools
Chapter 15 Windows Vista Fundamentals
Appendix A Application Verifier Test Settings
If you like Advanced Windows Debugging, keep an eye out for ADVANCED .NET DEBUGGING COMING IN NOV. 2009.
|
20 of 22 people found the following review helpful
By
This review is from: Advanced Windows Debugging (Paperback)
As a technical supervisor, one of the biggest problems I have is training our development teams in the use of the various debugging tools available. I purchased a copy of this book hoping it would help me in that training, and I was not disappointed.This book goes far beyond my expectations and provides insight into not only the use of the various debuggers, explaining how to set breakpoints and analyze memory locations, but it also goes into detail on how to debug some of the more insidious problems common to developers. The chapters on thread synchronization and stack and heap corruptions are excellent and provide invaluable insight into debugging these common problems. But more than that, the book outlines and gives instructions on using some of the lesser known debugging aids, such as the application verifier and the leak diagnosis tool, as well as writing your own debugger extensions. There is a chapter on post-mortem debugging, which goes into... Read more
12 of 13 people found the following review helpful
By
Amazon Verified Purchase(What's this?)
This review is from: Advanced Windows Debugging (Paperback)
I have little to add to the effusive praise of previous reviewers. This is a one-of-kind book. An instant classic.Beware, however. As others have noted, this is definitely an _advanced_ book. If you're not comfortable with arcane command syntax, bits and bytes, and such this will be painful to incomprehensible for you. On the other hand, I dare say you will never be a true Master Debugger until you have a good grasp of this material. You would do well to start with Debugging Microsoft .NET 2.0 Applications or the now-unavailable Debugging Applications for Microsoft .NET and Microsoft Windows. Both will give you an easier introduction to WinDbg. The latter, older... Read more
7 of 8 people found the following review helpful
This review is from: Advanced Windows Debugging (Paperback)
I've been using the Windows Debuggers for a long time now and I found myself an expert and I am regarded as such at my working place where I actively push the use of windbg and friends for trouble solving.This book however shows that even experts can gain a new level of debugging tips and tricks. This is not a one of many books on this topic but one that stands out with head and shoulders. A definately must have for those who do serious debug work, both on kernel and user level debugging! |
› See all 24 customer reviews...
Online Sample Chapter
Advanced Windows Debugging: Memory Corruption Part II—Heaps
Index
Preface
Foreword
Table of Contents
Downloadable Sample Chapter

This book includes free shipping!
This book includes free shipping!
eBook (Watermarked)
$51.99
$41.59
Includes EPUB, MOBI, and PDF
About eBook Formats
This eBook includes the following formats, accessible from your Account page after purchase:
EPUBThe open industry format known for its reflowable content and usability on supported mobile devices.
MOBIThe eBook format compatible with the Amazon Kindle and Amazon Kindle applications.
PDFThe popular standard, used most often with the free Adobe® Reader® software.
This eBook requires no passwords or activation to read. We customize your eBook by discretely watermarking it with your name, making it uniquely yours.
- Request an Instructor or Media review copy.
- Corporate, Academic, and Employee Purchases
- International Buying Options
Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.

