Advanced Windows Debugging and over 360,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
Sorry!
More Buying Choices
47 used & new from $35.54

Have one to sell? Sell yours here
 
   
Advanced Windows Debugging
 
 
Start reading Advanced Windows Debugging on your Kindle in under a minute.

Don’t have a Kindle? Get your Kindle here.
 
  

Advanced Windows Debugging (Paperback)

~ (Author), (Author)
Key Phrases: owning process, impersonation level, troubleshooting state information, Windows Vista, Application Verifier, Program Files (more...)
4.9 out of 5 stars  See all reviews (22 customer reviews)

List Price: $59.99
Price: $35.54 & this item ships for FREE with Super Saver Shipping. Details
You Save: $24.45 (41%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Wednesday, November 11? Choose One-Day Shipping at checkout. Details
36 new from $35.54 11 used from $44.56

Formats

Amazon Price New from Used from
  Kindle Edition $28.43 -- --
  Paperback $35.54 $35.54 $44.56

Frequently Bought Together

Advanced Windows Debugging + Windows® Internals: Including Windows Server 2008 and Windows Vista, Fifth Edition (PRO-Developer) + Windows via C/C++ (Pro - Developer)
Price For All Three: $123.72

Show availability and shipping details


Customers Who Bought This Item Also Bought

Windows via C/C++ (Pro - Developer)

Windows via C/C++ (Pro - Developer)

by Jeffrey M. Richter
4.6 out of 5 stars (14)  $44.09
Memory Dump Analysis Anthology, Volume 1 (v. 1)

Memory Dump Analysis Anthology, Volume 1 (v. 1)

by Dmitry Vostokov
5.0 out of 5 stars (2)  $26.40
Windows Debugging: Practical Foundations

Windows Debugging: Practical Foundations

by Dmitry Vostokov
3.8 out of 5 stars (4)  $13.60
Developing Drivers with the Windows  Driver Foundation (Pro Developer)

Developing Drivers with the Windows Driver Foundation (Pro Developer)

by Penny Orwick
3.2 out of 5 stars (5)  $37.79
The IDA Pro Book: The Unofficial Guide to the World's Most Popular Disassembler

The IDA Pro Book: The Unofficial Guide to the World's Most Popular Disassembler

by Chris Eagle
5.0 out of 5 stars (6)  $37.77
Explore similar items

Editorial Reviews

Product Description

&>

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



About the Author

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.


Product Details


More About the Authors

Discover books, learn about writers, read author blogs, and more.

Inside This Book (learn more)


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

 

Customer Reviews

22 Reviews
5 star:
 (21)
4 star:    (0)
3 star:
 (1)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.9 out of 5 stars (22 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
18 of 20 people found the following review helpful:
5.0 out of 5 stars A must have book for windows developers., December 23, 2007
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 detail on using crash dump files, instructions on obtaining information from the Windows reporting service and a chapter on managing symbol and source files.

Finally, there are chapters on debugging Vista applications, security problems, and interprocess communications.

The authors are clearly masters of debugging windows applications, and this book stands alone in the field.

I am a senior C++ engineer with over ten years of experience writing applications for windows and linux, and I found new information in every chapter, all of it easy to understand and well written.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
9 of 10 people found the following review helpful:
5.0 out of 5 stars Unequaled, August 7, 2008
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 volume has much more information on native code debugging than the newer version. As they also cover the Visual Studio debugger in detail, most developers need go no further than one of these.

Note that WinDbg _can_ be used with SOS and ADPlus to do some pretty fancy .NET debugging that isn't possible with Visual Studio alone. For that matter, the .NET CLR on Windows is implemented using the same Windows API as any native application. I've seen WinDbg used to trace bugs through C# application code down to find that the defect was actually in the CLR or Windows itself. John Robbins (author of the previously mentioned books) states in Chapter 6 of the latest version that "in our consulting work at Wintellect, which as you know works on the toughest bugs, we use WinDBG nearly 70 percent of the time."

Don't ignore this book just because you program in .NET!

Watch out for the font used in the listings though. Not being a master myself, I've been stumped for quite a while because the letter 'l' looks like the number '1' in the font they use. (I've been assiduously following the examples line-by-line).

I also recall being stumped because of an error or two in the text, though I admit I can't find them now. These as you can imagine could be a serious problem given the arcane and undocumented nature of quite a bit of the material. Just make sure you check the errata periodically. Ironically, the errata web page for the book is not functioning at the moment...



Comment Comment (1) | Permalink | Was this review helpful to you? Yes No (Report this)



 
7 of 8 people found the following review helpful:
5.0 out of 5 stars One of the best books ever on Windows Debugging, December 11, 2007
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!

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars Impressive reality-based reference work
My kind of book is concise, accurate, to the point, full of technical detail, based on extensive real-world experience, absorbing, and practically applicable. Read more
Published 3 months ago by Daniel Moseley

5.0 out of 5 stars If I had it 5 years ago I probably wouldn't have started blogging on crash dump analysis...
This is the book I wanted to read when I started doing Windows crash dump analysis more than 5 years ago. Read more
Published 4 months ago by Dmitry Vostokov

3.0 out of 5 stars A typical Microsoft stuff:
It is expensive, promises a lot and delivers next to nothing. The author concentrates of some specific problems, explains them in uninteligeble language, assuming that you already... Read more
Published 7 months ago by M. Sharkansky

5.0 out of 5 stars Destined to be a Classic
I approach debugging from a security perspective and am used to Ollydbg and IDA pro. I had no idea about the power and usefulness of Windbg. Read more
Published 10 months ago by Michael Muckin

5.0 out of 5 stars Simply The Best!
This is hands down the best book I have ever seen on the topic of Windows debugging. Whether you are chasing tricky synchronization issues, reverse engineering, or probing for... Read more
Published 12 months ago by Hugh K. Boyd

5.0 out of 5 stars BUY THIS BOOK!
Simple review here:

If you're a developer working on Windows who sometimes needs to debug and diagnose complex / intermittent app failures, BUY THIS BOOK... Read more
Published 12 months ago by Rich Turner

5.0 out of 5 stars A 'Must Have' for serious programmers
If you do nothing more than read the initial 4 chapters you will probably learn something. If you can get through Part II and Part III you will improve your knowledge of Windows... Read more
Published 14 months ago by Chris A. Cunningham

5.0 out of 5 stars The best book written on Windows Debugging
This book provides excellent coverage of the subject. I found it to be accurate and to contain the details I needed.
Published 14 months ago by M. Johnson

5.0 out of 5 stars This is the book
This book has completely smashed every possible expectation I had when I set out to read it.

Let me put it simply. Read more
Published 16 months ago by ZT

5.0 out of 5 stars Must have for any serious Windows programmer
Chapters on debugging heap/stack corruptions are simply invaluable. Worth reading even if you think you know everything about those issues, this book will easily prove you wrong.
Published 17 months ago by Maciej Sinilo

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   




Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.