Deliver to your Kindle or other device


Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.
Inside Windows Debugging (Developer Reference)

Inside Windows Debugging (Developer Reference) [Kindle Edition]

Tarik Soulami
5.0 out of 5 stars  See all reviews (1 customer review)

Print List Price: £24.99
Kindle Price: £12.99 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £12.00 (48%)
* Unlike print books, digital books are subject to VAT.


Amazon Price New from Used from
Kindle Edition £12.99  
Paperback £24.99  
Kindle Daily Deal
Kindle Daily Deal: At least 60% off
Each day we unveil a new book deal at a specially discounted price--for that day only. Learn more about the Kindle Daily Deal or sign up for the Kindle Daily Deal Newsletter to receive free e-mail notifications about each day's deal.

Special Offers and Product Promotions

  • Purchase any Kindle Book sold by and receive £1 credit to try out our Digital Music Store. Here's how (terms and conditions apply)

Customers Who Bought This Item Also Bought

Product Description

Product Description

Use Windows debuggers throughout the development cycle—and build better software

Rethink your use of Windows debugging and tracing tools—and learn how to make them a key part of test-driven software development. Led by a member of the Windows Fundamentals Team at Microsoft, you’ll apply expert debugging and tracing techniques—and sharpen your C++ and C# code analysis skills—through practical examples and common scenarios. Learn why experienced developers use debuggers in every step of the development process, and not just when bugs appear.

Discover how to:

  • Go behind the scenes to examine how powerful Windows debuggers work
  • Catch bugs early in the development cycle with static and runtime analysis tools
  • Gain practical strategies to tackle the most common code defects
  • Apply expert tricks to handle user-mode and kernel-mode debugging tasks
  • Implement postmortem techniques such as JIT and dump debugging
  • Debug the concurrency and security aspects of your software
  • Use debuggers to analyze interactions between your code and the operating system
  • Analyze software behavior with Xperf and the Event Tracing for Windows (ETW) framework

About the Author

Tarik Soulami is a principal development lead on the Windows Fundamentals Team at Microsoft.

Product details

  • Format: Kindle Edition
  • File Size: 38186 KB
  • Print Length: 592 pages
  • Simultaneous Device Usage: Up to 5 simultaneous devices, per publisher limits
  • Publisher: Microsoft Press; 1 edition (15 May 2012)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • Text-to-Speech: Enabled
  • X-Ray:
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: #44,073 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?

More About the Author

Discover books, learn about writers, and more.

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4 star
3 star
2 star
1 star
5.0 out of 5 stars
5.0 out of 5 stars
Most Helpful Customer Reviews
3 of 3 people found the following review helpful
5.0 out of 5 stars An essential guide for Windows debugging tools 5 Aug 2012
This book is aimed at software engineers who really want to master windows debugging. Author Soulami is a member of the Windows Fundamentals team at Microsoft, and not only knows his stuff, but is also able to present it in an accessible style - never talking down to his audience. With practical examples from real experience, this book is excellent at showing programmers how to make the best use of the debugger.

With testing such a crucial part of the application lifecycle, this book is an excellent guide for enlightening software developers about the efficient use of debugging and tracing tools. And whilst it is a deeply technical guide, Saloumi's writing style never strays from the path of clarity.

Even if you consider yourself a novice programmer, there is plenty here to learn from, and guide you. An excellent addition to any software development library.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on (beta) 4.5 out of 5 stars  8 reviews
6 of 6 people found the following review helpful
5.0 out of 5 stars The inside scoop... 5 Sep 2012
By Andreas Masur - Published on
Inside Windows Debugging is the latest book on in-depth debugging and tracing strategies written by an author with an inside look into core techniques of Windows; some of which he worked on directly.

With all the latest programming languages and integrated development environments aimed at making writing software applications more accessible, creating applications has never been easier than today. Unfortunately, creating an application is only one part of the equation, getting it to work correctly is the other - usually much harder - part. This book focuses on exactly that harder part; identifying, tracing and resolving bugs in your application as well as preventing them in the first place.

Many still think of debugging as an activity after a software application has been finished and users start to experience issues that require investigation. This, however, is far from the truth these days since many development idioms such as test-driven development (TDD) actually promote debugging during development phases.

The book is divided into three parts, the first providing a bit of background about the evolution and architecture of Windows, the Windows Developer Interface as well as the Microsoft Developer Tools. The second part introduces the basics of debugging, how the Windows debuggers actually work and debugging your application after a crash (postmortem) before moving to more advanced techniques such as scripting the debugger, debugging the WOW64 environment, code analysis tools, debugging system internals as well as looking at common debugging scenarios. The third part introduces strategies to trace and analyze application behavior using different mechanism and tools such as the Event Tracing for Windows (ETW) and the accompanying Windows Performance Analysis Tool (Xperf). Finally, two appendices provide a quick start on how to use the WinDbg debugger to accomplish both user-mode and kernel-mode debugging tasks.

This book is not aimed at the novice developer by any means since a general understanding of C++ and/or C# as well as the Win32 platform and/or the .NET framework is required. The author does provide an excellent job by introducing basic concepts prior to moving to more advanced topics so that nobody really should get lost while moving from chapter to chapter. By not just preaching the theories but also presenting real-world debugging scenarios, the author also manages to provide developers with methods and tools they immediately can use in their daily routine.

I have always been a fan of most books coming from Microsoft Press and this one is no exception: a wealth of information using an inside look into the underlying mechanics and paired with an engaging writing style makes for another book every serious developer should have on his/her shelf.
6 of 7 people found the following review helpful
5.0 out of 5 stars Outstanding Breadth and Depth, and not just for security 20 Aug 2012
By Let's Compare Options Preptorial - Published on
Format:Paperback|Verified Purchase
Since most of the core/kernel elements of Windows haven't changed since NT in the late 80's, most of the "new" stuff is in the form of API's. Soulami assumes a basic working knowledge of C/C++ or C#, but doesn't start at such a high level that you get lost in either the debugger or the tracer. This book is REALLY up to date on windows, and will catch you up even if you are still working on an NT base.

Chapters include: 1. How to develop software for Windows 2. Getting started (debugging for fun and profit section) 3. How debuggers work (pretty basic but very complete, covers both User and Kernel modes) 4. Postmortem Debugging (JIT vs. dump techniques. Goes much deeper than the day to day systems engineer will usually go) 5. Beyond the Basics (the real meat of the book-- awesome-- data vs. code breakpoints, scripts, etc.) 6. Code analysis tools (fair to C/++ and sharp, with many actual/not just pseudo/ code examples that are well thought out and RUN); 7. Expert Debugging Tricks (we finally get to the fun and profit piece-- many techniques that are effective but unusual, and probably wouldn't be attempted by the usual coder without this book's help on avoiding potholes); 8 and 9 are a whole collection of very cool "scenarios" covering all the NIGHTMARES created by threads and multiprocessors such as race conditions, deadlocks, stack/heap and access problems, etc. These two chapters are worth the price of the whole book; 10 gets into the console subsystem and concludes this section.

Section two (about 120 pages) switches themes with three chapters about Xperf. In short, if you try to run traces as you develop your software using just ETW (event tracing for Windows), you'll soon get overwhelmed and give it up. This means you're losing one of the best "secret sauces" of the Windows 7 SDK (a way to integrate what's already been perfected, instead of reinventing every wheel, with proven code connected with an already debugged ETW web). The way to tap into that secret sauce IS Xperf.

The two excellent appendices give user and kernel debug quick start examples that make this book as much as a reference and tutorial as a step by step learning guide.

Beyond debugging, there is a LOT of information on how to develop superior software USING the debugger, not for debugging, but for software analysis, code vs. operating system, security, and development cycle issues like static vs. runtime analysis. Any good or prospective windows developer will benefit from this wealth of info. This is over 500 pages PACKED with wisdom and experience, well worth the price as a career enhancer or builder.
3 of 3 people found the following review helpful
5.0 out of 5 stars great windbg reference. 10 Dec 2013
By T-me - Published on
Format:Paperback|Verified Purchase
Great reference for windbg or great for people getting started in Reverse engineering. I would for sure suggest this for people new to this topic and veteran Reverse engineers for a reference.
2 of 2 people found the following review helpful
5.0 out of 5 stars Must read for every Windows Programmer 4 Nov 2013
By E. Hulse - Published on
Format:Paperback|Verified Purchase
A Programmers toolset is important, and what's more important is knowning how to use the toolset. Windows Debugging, and debugging in general was not something that I every learned in school. The windows Debugger is powerful but some complain there is a learning curve to it. The author takes you through very practical real world problems, with accompanying examples to teach the reader how to not only use Windows debugging tools mainly windbg, but also to teach the reader how to debug.

Overall excellent book, well worth adding to the library.
2 of 2 people found the following review helpful
5.0 out of 5 stars The whole kit & kaboodle 14 Sep 2012
By D. Cottlehuber - Published on
Format:Kindle Edition
This book is awesome. It will become your bible for windows debugging, and covers both theoretical aspects such as how the kernel & userland fit together in Windows, details on how 64 bit & 32 bit cohabit etc, and real-world expertise on debugging strategies for remote, local, and virtual machine scenarios. If you are programming or supporting Windows apps & servers, then you want this book. For novices, if you've not debugged an NT BSOD yet then this will give you enough understanding and straightforward tips to do so yourself, and for experts, if you don't learn something new from this book I'd be very surprised. The kindle edition is easy to read most of the time (on my large-screen DX), and at 500+ pages there's a lot of great material to work through. I'll say it again: Awesome.
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
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category