Advanced Windows Debugging and over 2 million other books are available for Amazon Kindle . Learn more

Buy New

or
Sign in to turn on 1-Click ordering.
Buy Used
Used - Good See details
Price: £11.52

or
 
   
Trade in Yours
For a £2.09 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
Start reading Advanced Windows Debugging on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Advanced Windows Debugging: Developing and Administering Reliable, Robust, and Secure Software (Addison-Wesley Microsoft Technology) [Paperback]

Mario Hewardt , Daniel Pravat
5.0 out of 5 stars  See all reviews (3 customer reviews)
Price: £41.99 & FREE Delivery in the UK. Details
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
Only 3 left in stock (more on the way).
Dispatched from and sold by Amazon. Gift-wrap available.
Want it tomorrow, 1 Aug.? Choose Express delivery at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition £36.04  
Paperback £41.99  
Trade In this Item for up to £2.09
Trade in Advanced Windows Debugging: Developing and Administering Reliable, Robust, and Secure Software (Addison-Wesley Microsoft Technology) for an Amazon Gift Card of up to £2.09, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Book Description

29 Oct 2007 0321374460 978-0321374462 1
&>

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


Frequently Bought Together

Advanced Windows Debugging: Developing and Administering Reliable, Robust, and Secure Software (Addison-Wesley Microsoft Technology) + Inside Windows Debugging: A Practical Guide to Debugging and Tracing Strategies in Windows® + Windows Internals, Part 2: Covering Windows Server 2008 R2 and Windows 7
Price For All Three: £91.77

Buy the selected items together


Product details

  • Paperback: 840 pages
  • Publisher: Addison Wesley; 1 edition (29 Oct 2007)
  • Language: English
  • ISBN-10: 0321374460
  • ISBN-13: 978-0321374462
  • Product Dimensions: 23 x 18 x 3 cm
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (3 customer reviews)
  • Amazon Bestsellers Rank: 546,903 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Authors

Discover books, learn about writers, and more.

Product Description

From the Back Cover

&>

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


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:


Customer Reviews

4 star
0
3 star
0
2 star
0
1 star
0
5.0 out of 5 stars
5.0 out of 5 stars
Most Helpful Customer Reviews
7 of 7 people found the following review helpful
By J. S. Hardman TOP 1000 REVIEWER VINE VOICE
Format:Paperback
I've been developing applications on Windows since LONG before the days of 32 bit Windows (let alone 64 bit) and pre-emptive multi-threading. Over all those years I'm glad to say I've never had need for the information in this book - until now... Having been doing some consultancy for a company with many applications that exhibit all sorts of faults on company sites, it became necessary to find out more about debugging Windows applications outside of a development or test environment.

I've always made a point of building applications on the highest compiler warning level, passing the source code through PC-Lint, executing the code under BoundsChecker, Purify, Quantify, Pure Coverage, doing lots of unit testing, system testing etc. More recently I've added further tools to that list such as Intel's ThreadChecker. I have always hoped that everybody did many, if not most/all of those things. Apparently not. The number of issues, the "knottiness" of the code and the added difficulty of having to work out the cause of problems from log files etc coming back from client sites has been a revelation. And that is where this book comes in. I'm not going to claim to have read it cover to cover, but almost every page that I have read has contained information that I hadn't come across before and that is after a lot of years of Windows development. Similarly, this stuff is new to the rest of the team too.

So, if you are up to your neck in defect reports, dump files etc and you don't have the option of re-writing the code, then this is the book that you need. It's not a gripping read (as you may have guessed from the book's full title), but boy does it contain a lot of useful material.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars One of the best 23 Dec 2010
By akr
Format:Paperback
This book isn't JUST about Debugging, it actually teaches you about some basic fundamentals which all programmers SHOULD know e.g. how the stack and heap works - get the book for this alone, as he steps you through how those mechanisms works when he talks about stack and heap corruptions, you really get a clear understanding of what the heck is going on.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Great book for low level engineers 4 Dec 2010
Format:Paperback|Verified Purchase
In short this is the book you need if you are a low level analyst or software engineer.
I ordered this book for a completely other reasons than the one I use it for.
If like me you think that this is a software reverse-engineering book for binary code analysts with lot's of assembly language code then you'll be disappointed.
However if for once you adopt a programmer's point of view and want to know how things works from a low level point of view then you'll enjoy this book.

In short lots of c/c++ code, less binary code disassembly.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.9 out of 5 stars  28 reviews
20 of 22 people found the following review helpful
5.0 out of 5 stars A must have book for windows developers. 23 Dec 2007
By Gary McNickle - Published on Amazon.com
Format: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 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.
12 of 13 people found the following review helpful
5.0 out of 5 stars Unequaled 7 Aug 2008
By Dennis L. Hughes - Published on Amazon.com
Format:Paperback|Verified Purchase
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...
7 of 8 people found the following review helpful
5.0 out of 5 stars One of the best books ever on Windows Debugging 11 Dec 2007
By Ir A. B. Cohen Stuart - Published on Amazon.com
Format: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!
3 of 3 people found the following review helpful
5.0 out of 5 stars If I had it 5 years ago I probably wouldn't have started blogging on crash dump analysis... 22 Jun 2009
By Dmitry Vostokov - Published on Amazon.com
Format:Paperback|Verified Purchase
This is the book I wanted to read when I started doing Windows crash dump analysis more than 5 years ago. Although other excellent Windows debugging books existed at that time including "Debugging Applications" written by John Robbins and "Debugging Windows Programs: Strategies, Tools, and Techniques for Visual C++ Programmers" written by Everett N. McKay and Mike Woodring I needed a book that discusses debugging in the context of WinDbg and other tools from Debugging Tools for Windows package. So I had to learn from day-to-day experience and WinDbg help. Now WinDbg is a de facto standard in debugging and troubleshooting on Windows platforms and the book comes at the right time to teach the best practices and techniques. I'm reading it sequentially and I'm on the page 387 at the moment and I have already learnt techniques and debugging strategies I missed due to certain habits in using WinDbg. See my real time reading notes on Software Generalist blog. Even if you do mostly memory dump analysis and not live debugging of your product, you also will learn a lot to apply in your day-to-day problem identification and troubleshooting. Absolutely must have for any Windows software engineers, escalation engineers and technical support engineers willing to advance their debugging skills.

Thanks,
Dmitry Vostokov
Founder of DumpAnalysis Portal
Editor-in-Chief of Debugged! MZ/PE magazine
3 of 3 people found the following review helpful
5.0 out of 5 stars Very important, long-overdue book. 2 Jan 2008
By Zina Pozen - Published on Amazon.com
Format:Paperback
Windows debugging tools described in this book are lightweight, freely
available, powerful and mature. Microsoft developers have been heavily relying on them for years, on some of the largest-scale software projects ever. Hence the authors' familiarity with the subject.

This book is written to be both practical and in-depth. The authors do a very nice job of explaining the underlying Windows OS concepts to show how software defects occur. I think it's quite accessible to an intermediate-level reader.

The book is not a collection of tricks and shortcuts: the reader is lead towards a solid understanding of Windows debugging. The shortcuts are thrown in closer to the end of the chapters as a reward.

If you are a native-code Windows developer reading this, do your part in making the world a better place: read the book, test your code with application verifier, investigate and fix the failures. You'll rock - thank you in advance! :)
Were these reviews helpful?   Let us know
Search Customer Reviews
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
 

Search Customer Discussions
Search all Amazon discussions
   


Look for similar items by category


Feedback