Buy new:
-22% $46.73
Delivery Thursday, July 4
Ships from: Amazon.com
Sold by: Amazon.com
$46.73 with 22 percent savings
List Price: $59.99

The List Price is the suggested retail price of a new product as provided by a manufacturer, supplier, or seller. Except for books, Amazon will display a List Price if the product was purchased by customers on Amazon or offered by other retailers at or above the List Price in at least the past 90 days. List prices may not necessarily reflect the product's prevailing market price.
Learn more
FREE International Returns
No Import Fees Deposit & $17.84 Shipping to Finland Details

Shipping & Fee Details

Price $46.73
AmazonGlobal Shipping $17.84
Estimated Import Fees Deposit $0.00
Total $64.57

Delivery Thursday, July 4. Order within 17 hrs 2 mins
Or fastest delivery Tuesday, June 25
In Stock
$$46.73 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$46.73
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon.com
Ships from
Amazon.com
Sold by
Amazon.com
Sold by
Amazon.com
Returns
Eligible for Return, Refund or Replacement within 30 days of receipt
Eligible for Return, Refund or Replacement within 30 days of receipt
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Returns
Eligible for Return, Refund or Replacement within 30 days of receipt
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$33.16
FREE International Returns
Delivery Thursday, July 4. Order within 2 hrs 32 mins
Or fastest delivery Tuesday, June 25
Only 1 left in stock - order soon.
$$46.73 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$46.73
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Other sellers on Amazon
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

Advanced .NET Debugging 1st Edition

4.2 4.2 out of 5 stars 28 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$46.73","priceAmount":46.73,"currencySymbol":"$","integerValue":"46","decimalSeparator":".","fractionalValue":"73","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"Ims7Oc0AKNfoXzpbZD28Fua7tJbsMBI%2FO6eEJRWh%2BQYjqiQx7QYX1Wbcm1xu9gV5NVDlMJ54MwQ0qS8A6MPsD5AeJWr6yTmtUv1XlAhelxPoNIriRMMkPzIUNXCmEo44hrPNkDrFvbg%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$33.16","priceAmount":33.16,"currencySymbol":"$","integerValue":"33","decimalSeparator":".","fractionalValue":"16","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"Ims7Oc0AKNfoXzpbZD28Fua7tJbsMBI%2FcQwHIfwxtC1xe8UWT3bfZQXjvhCvx1gWaEmiC2VspsqSZFcNA%2FcNPSiv1jBmiihT4MZk7qyKs%2BYPybf6ihhY2AALSFDwQLqs9LanriTYNCfDqF%2Fz7o9xNH7YE8M8BqMKYESx3DUKrnVqMwM5z2i1L%2FMdYWlwazNI","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

“Mario Hewardt’s Advanced .NET Debugging is an excellent resource for both beginner and experienced developers working with .NET. The book is also packed with many debugging tips and discussions of CLR internals, which will benefit developers architecting software.”

–Jeffrey Richter, consultant, trainer, and author at Wintellect

“Mario has done it again. His Advanced Windows Debugging (coauthored with Daniel Pravat) is an invaluable resource for native code debugging, and Advanced .NET Debugging achieves the same quality, clarity, and breadth to make it just as invaluable for .NET debugging.”

–Mark Russinovich, Technical Fellow, Microsoft Corporation

The Only Complete, Practical Guide to Fixing the Toughest .NET Bugs

Advanced .NET Debugging is the first focused, pragmatic guide to tracking down today’s most complex and challenging .NET application bugs. It is the only book to focus entirely on using powerful native debugging tools, including WinDBG, NTSD, and CDB, to debug .NET applications. Using these tools, author Mario Hewardt explains how to identify the real root causes of problems—far more quickly than you ever could with other debuggers.

Hewardt first introduces the key concepts needed to successfully use .NET’s native debuggers. Next, he turns to sophisticated debugging techniques, using real-world examples that demonstrate many common C# programming errors.

This book enables you to

  • Make practical use of postmortem debugging, including PowerDBG and other “power tools”
  • Understand the debugging details and implications of the new .NET CLR 4.0
  • Master and successfully use Debugging Tools for Windows, as well as SOS, SOSEX, CLR Profiler, and other powerful tools
  • Gain a deeper, more practical understanding of CLR internals, such as examining thread-specific data, managed heap and garbage collector, interoperability layer, and .NET exceptions
  • Solve difficult synchronization problems, managed heap problems, interoperability problems, and much more
  • Generate and successfully analyze crash dumps

A companion web site (advanceddotnetdebugging.com) contains all sample code, examples, and bonus content.

Frequently bought together

$46.73
In Stock
Ships from and sold by Amazon.com.
+
$41.00
Get it as soon as Friday, Jul 5
Only 1 left in stock - order soon.
Sold by CouchSeller and ships from Amazon Fulfillment.
Total price:
To see our price, add these items to your cart.
Details
Added to Cart
spCSRF_Control
One of these items ships sooner than the other.
Choose items to buy together.

Editorial Reviews

Review

Praise for Advanced .NET Debugging

“While the .NET environment provides a developer with a powerful toolbox to accomplish their goals, it can often be a daunting task to debug some of the issues that inevitably crop up during software development. This book provides the crucial details about how the CLR works internally, which you need to know to diagnose many classes of bugs in your .NET programs, and it provides clear examples of how to solve the same types of issues we see our customers struggle with on a daily basis. This book is required reading for all serious .NET developers.”

―Lee Culver, CLR Quick Response Team, Microsoft Corporation

“Have you ever wondered why your .NET application is not responding? Or why it’s intermittently consuming high CPU? Or crashing? When things go wrong you need to think low level, using the proper knowledge and tools to investigate the internals of your application. Advanced .NET Debugging delivers the knowledge necessary to quickly isolate nasty software problems. Welcome to the debugging world!”

―Roberto A. Farah, Senior Premier Field Engineer, Microsoft Corporation

“Mario Hewardt’s Advanced .NET Debugging is an excellent resource for both beginner and experienced developers working with .NET. The book is also packed with many debugging tips and discussions of CLR internals that will benefit developers architecting software. I highly recommend Mario’s book.”

―Jeffrey Richter, consultant, trainer, and author at Wintellect

“This book talks about tools such as SOS in the kind of depth that I have not seen elsewhere. It’s a definite aid in understanding and debugging managed application behavior.”

―Maoni Stephens, GC Developer, Microsoft Corporation

Advanced .NET Debugging is essential reading for someone who wants to get under the covers and obtain an intimate understanding of how the .NET Common Language Runtime works. It clearly identifies the layout of the system and how the assemblies are loaded and organized. I recommend it to anyone who wants to debug more complex issues brought on by synchronization problems and corruption. It also effectively addresses the difficult task of postmortem debugging.”

―Pat Styles, Microsoft Corporation

From the Back Cover

“Mario Hewardt’s Advanced .NET Debugging is an excellent resource for both beginner and experienced developers working with .NET. The book is also packed with many debugging tips and discussions of CLR internals, which will benefit developers architecting software.”

–Jeffrey Richter, consultant, trainer, and author at Wintellect

“Mario has done it again. His Advanced Windows Debugging (coauthored with Daniel Pravat) is an invaluable resource for native code debugging, and Advanced .NET Debugging achieves the same quality, clarity, and breadth to make it just as invaluable for .NET debugging.”

–Mark Russinovich, Technical Fellow, Microsoft Corporation

The Only Complete, Practical Guide to Fixing the Toughest .NET Bugs

Advanced .NET Debugging is the first focused, pragmatic guide to tracking down today’s most complex and challenging .NET application bugs. It is the only book to focus entirely on using powerful native debugging tools, including WinDBG, NTSD, and CDB, to debug .NET applications. Using these tools, author Mario Hewardt explains how to identify the real root causes of problems―far more quickly than you ever could with other debuggers.

Hewardt first introduces the key concepts needed to successfully use .NET’s native debuggers. Next, he turns to sophisticated debugging techniques, using real-world examples that demonstrate many common C# programming errors.

This book enables you to

  • Make practical use of postmortem debugging, including PowerDBG and other “power tools”
  • Understand the debugging details and implications of the new .NET CLR 4.0
  • Master and successfully use Debugging Tools for Windows, as well as SOS, SOSEX, CLR Profiler, and other powerful tools
  • Gain a deeper, more practical understanding of CLR internals, such as examining thread-specific data, managed heap and garbage collector, interoperability layer, and .NET exceptions
  • Solve difficult synchronization problems, managed heap problems, interoperability problems, and much more
  • Generate and successfully analyze crash dumps

A companion web site () contains all sample code, examples, and bonus content.

Product details

  • Publisher ‏ : ‎ Addison-Wesley Professional; 1st edition (November 9, 2009)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 542 pages
  • ISBN-10 ‏ : ‎ 0321578899
  • ISBN-13 ‏ : ‎ 978-0321578891
  • Item Weight ‏ : ‎ 1.87 pounds
  • Dimensions ‏ : ‎ 7.6 x 1.23 x 10 inches
  • Customer Reviews:
    4.2 4.2 out of 5 stars 28 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Mario Hewardt
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Mario Hewardt is a Principal Software Engineer in the Azure Office of the CTO at Microsoft working on the Sysinternals tools. Mario is the author of Advanced Windows Debugging and Advanced .NET Debugging. With over two decades at Microsoft, he has worked with the development of Windows starting from Windows 98 up to Windows Vista. Mario has worked in the SaaS arena and delivered the Asset Inventory Service as well as leading a team of developers building the core platform for the next generation Microsoft online management service – Windows Intune. Mario has also worked closely with enterprise customers as a Dedicated Developer Premier Field Engineer helping ensure that customers build their solutions on the Microsoft stack in the most efficient and reliable way possible. Mario lives in Washington state with his wife, daughter and two dogs.

Customer reviews

4.2 out of 5 stars
4.2 out of 5
We don’t use a simple average to calculate the overall star rating and percentage breakdown by star. Our system gives more weight to certain factors—including how recent the review is and if the reviewer bought it on Amazon. Learn more
28 global ratings

Top reviews from the United States

Reviewed in the United States on July 18, 2013
When you get started with WinDbg, there is pain, difficulty, confusion. Eventually, through a ton of experience, things start to click and you gain some dexterity in figuring out the most complicated issues in your applications.

Then you stumble across a book like this and you think "where were you 12 months ago when I first started this journey?"

It's hard to say if there is any good beginner guide to WinDbg, as experience is the true teacher with that tool. But this is the best thing I've read on the topic and would highly recommend it if you are at the beginning or intermediate level with WinDbg.
One person found this helpful
Report
Reviewed in the United States on February 10, 2017
Having had a number of years of experience using WinDBG and SOS for postmortem analysis I did not imagine this book would provide as much value as it does. The information is still very useful and relevant for todays versions of .NET. I also have Mario's Advanced Windows Debugging, which is outstanding.
Reviewed in the United States on December 31, 2012
Very detailed information on various methods and tools involved in the software diagnostics process of managed Windows .NET code. I found this book to be very helpful.
Reviewed in the United States on December 20, 2009
If you program for the .NET framework you *need* this book. It helps to take your debugging skills (as well as understanding of the platform) to the next level. How many times in the past have we tried to nail down a particularly tricky bug, and after hours (or days) of pulling at your hair, given up in despair and doubted our worth as a good programmer ? Well, if you have trodden down that path, then I am sure this book will help. I wish to warn you that this is not a book for a beginner nor for the faint-hearted. It will show you the tools, it will show you the way, but you will have to walk that path which begins by buying this book and reading it.

If you already have Advanced Windows Debugging by the same author and have read it, then you should be in good shape to tackle this one. But if you haven't, fear not, you can still make it.

The book is soft-bound, neatly printed in about 500 pages and contains 10 chapters divided into 3 parts. It doesn't weight much and can be easily carried around.

Part 1 consists of 3 chapters. In the first chapter the reader is an introduction to the tools. The 2nd chapter - CLR fundamentals - contrary to its name, is not a high level overview for the newbie. Instead it is a wealth of information for all .NET programmers. No matter how senior a programmer you are, I will bet that you will still learn something (probably a lot) from this chapter. The 3rd chapter - Basic Debugging Tasks - is a bit lengthy (I don't mean that in a bad way) at about 100 pages, helps you get acquainted with the tools and commands.

Part 2 consists of 4 chapters - Assembly Loader, Managed Heap and Garbage Collection, Synchronization and Interoperability. As you might guess from the names, it is pretty advanced. It is hard, but you will emerge with a much better and clearer understanding of the platform. The chapter on interoperability might not be useful for everybody, but for those who have felt the pain of COM interop or PInvoke this chapter pays for the price of the book many times over.

Part 3 consists of the advanced-advanced topics. There is a chapter named Postmortem debugging which includes debugging problems when you have no access to the live machine and you cannot reproduce the problem locally. It consists of taking a dump file and analyzing it offsite. Not an everyday topic for most programmers, but you will surely be thankful for this chapter if you ever come across it. It also explains how the Windows error reporting works. The second last chapter is called PowerTools which includes discussion of PowerDbg which allows you to control native debuggers using powershell (how cool is that !). There is also information on Visual Studio integration with SOS and on CLR Profiler. The last chapter, a small one at about 15 pages, is on .NET 4.0 (based on Beta 1 release though).

The writing style is very clear and precise. There are plenty of samples and some good diagrams to help your understand the concepts better (i loved them, a picture is worth a thousand words). In short, this is book worth purchasing and worth reading and worth reading again (which is what I am going to do).

There is a support website for the book at advanceddotnetdebugging dot com.
14 people found this helpful
Report
Reviewed in the United States on December 26, 2018
This was my first .Net internals book I purchased over 7 years ago when I started my job as a Escalation Engineer.. root cause analysis for the most difficult support tickets and production failures. In my opinion, up until Microsoft open sourced the Core CLR framework and before CLRMd was stable, I believe that this book was the only resource for many years that contained all the required information in a single/well structured format to teach how to use advanced debugging skills in production environments via Windbg and SOS. I personally struggled only using the internet/blogs and googling because although there is a wealth of information it is scattered, inaccurate at times and required a lot of time to also research "pre-req"/Background to even try to understand the material I would find.

Although written around 2009 and the release of .Net 4.0, I still highly recommend this book as a starting point because the fundamentals and strategies outlined are still valid in 2018 and it is not uncommon to also have to troubleshoot legacy code.

Mario does an amazing job in all of his books and courses. He also quickly and politely responded to all my emails on his old Microsoft email no matter how stupid the question was. I selfishly wish he would write another/current book using the same techniques and outlines he used in the past.
Reviewed in the United States on December 22, 2009
Advanced .NET Debugging is a great book and a valuable addition to any dedicated .NET developer's toolbox. Not only does it cover the highly useful Debugging Tools for Windows package (the book uses ntsd for all examples, but everything applies to WinDbg as well) and how to debug hard-to-solve problems. It also provides a lot of details on how the .NET runtime works internally. It is well written, easy to read, and full of useful gems. My only complaint is that the examples use debug builds, which may give a somewhat misleading view on how to go about troubleshooting problems in real world applications as release mode builds will usually not have the same amount of details available. However, it still comes highly recommended.

Brian Rasmussen
Microsoft MVP Visual C#
8 people found this helpful
Report
Reviewed in the United States on December 7, 2009
As one of the official reviewers of this book I think this is the deepest .NET debugging book I'm aware of. It teaches how to use WinDbg and other troubleshooting tools to diagnose problems like hangs, crashes and memory leaks coming from .NET applications. The cool thing here is that these techniques are the same techniques used by folks from Microsoft Support!
6 people found this helpful
Report

Top reviews from other countries

Translate all reviews to English
RKM71
5.0 out of 5 stars Excellent book
Reviewed in the United Kingdom on April 10, 2024
Wish the author would write an updated one, but this one still contains so much knowledge on .NET it's amazing.
Ajinkya
4.0 out of 5 stars Containt in book is very good
Reviewed in India on July 29, 2018
Book is amazing
Cliente de Amazon
1.0 out of 5 stars Very Hard to understand
Reviewed in Mexico on June 20, 2014
Its very difficult, I don't understand because the samples is complex and the level for debugging is very sophisticated. end
unbekannt
5.0 out of 5 stars Great
Reviewed in Germany on April 4, 2013
This book is great. It really explains advanced .net debugging.

I could resolve memory issues of my application working with weak references.

PS: I hope for an update for .net 4.5 framework.
Antonio Banderas
3.0 out of 5 stars WinDbg documentation in printed form
Reviewed in Germany on November 18, 2017
Well, I can't say I don't like the book. It is absolutely great for what it describes but somehow I expected a lot more.
Basically, this book is just a well formatted summary of articles about WinDbg for .NET with a few extras.
Most of the information from this book you won't ever need, other pieces are easy to google. That's why I wouldn't recommend it to anyone who has already an experience with WinDbg.

Three stars rating is because
1) book's title is totally misleading
2) a lot of advanced topics are not described
3) price is too high for something like this book