Skip to Content
Advanced Windows Debugging
book

Advanced Windows Debugging

by Mario Hewardt, Daniel Pravat
October 2007
Intermediate to advanced
840 pages
21h 8m
English
Addison-Wesley Professional

Overview

&>

-- 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.

    Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
    and much more.

    Read now

    Unlock full access

    More than 5,000 organizations count on O’Reilly

    AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

    QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
    Julian F.
    Head of Cybersecurity
    QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
    Addison B.
    Field Engineer
    QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
    Amir M.
    Data Platform Tech Lead
    QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
    Mark W.
    Embedded Software Engineer

    You might also like

    Advanced .NET Debugging

    Advanced .NET Debugging

    Mario Hewardt

    Publisher Resources

    ISBN: 9780321374462Purchase book