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.
Debugging Microsoft .NET 2.0 Applications 3rd Edition
Get the essential, straightforward information you need—and master the core topics for debugging applications with Microsoft Visual Studio 2005. Debugging expert John Robbins offers practical answers to real-world development questions, including code samples in Microsoft Visual C# and Visual Basic. You’ll learn the debugging techniques and tools to debug more efficiently and help ensure top-quality code.
Discover how to:
- Arm yourself with tools and techniques that contribute to long-term success in the debugging battlefield
- Implement John’s practical debugging process to sniff out bugs—including “freak” bugs
- Catch bugs during development with assertions, tracers, and comments
- Set advanced breakpoints in your debugger to specify exact trigger conditions
- Use the Watch window, Data Tips, and Visualizers to see key data quickly
- Employ other debugging tools, such as WinDBG, SOS, and ADPlus
- Write macros and add-ins to extend the Visual Studio integrated development environment
- Debug with Code Analysis—and learn to write your own rules
PLUS—Get code samples on the Web
- ISBN-100735622027
- ISBN-13978-0735622029
- Edition3rd
- PublisherMicrosoft Press
- Publication dateNovember 8, 2006
- LanguageEnglish
- Dimensions7.38 x 1.13 x 9 inches
- Print length464 pages
Editorial Reviews
From the Publisher
- Delivers an overview of the science of debugging, including the why and the how - Provides practical instruction for using the debugging, testing, and tuning features in Visual Studio 2005 - Features in-depth discussions of common problems and how to solve them - Includes code samples
About the Author
John Robbins is a cofounder of Wintellect (http://www.wintellect.com), where he leads debugging and consulting services and develops and teaches debugging curriculum. As a recognized debugging expert, John takes an evil delight in finding and fixing impossible bugs in other people’s programs, including applications for leading enterprise companies. He’s the author of the two previous versions of this book and is a contributing editor at MSDN Magazine, where he writes the popular “Bugslayer” column.
Product details
- Publisher : Microsoft Press; 3rd edition (November 8, 2006)
- Language : English
- Paperback : 464 pages
- ISBN-10 : 0735622027
- ISBN-13 : 978-0735622029
- Item Weight : 2.03 pounds
- Dimensions : 7.38 x 1.13 x 9 inches
- Best Sellers Rank: #4,299,662 in Books (See Top 100 in Books)
- #149 in Computer Programming Debugging
- #808 in Microsoft .NET
- #1,400 in Software Design & Engineering
- Customer Reviews:
About the author

Discover more of the author’s books, see similar authors, read author blogs and more
Customer reviews
Our goal is to make sure every review is trustworthy and useful. That's why we use both technology and human investigators to block fake reviews before customers ever see them. Learn more
We block Amazon accounts that violate our community guidelines. We also block sellers who buy reviews and take legal actions against parties who provide these reviews. Learn how to report
-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
I learned so much from this little book about the improvements in .Net 2.0 for debugging, and how to use the tools in visual studio - in extremely productive ways, I would recommend you buy this book immediately and use it for the rest of your programming career!
I found the book extremly well written and it had me laughing and reading it out loud to non-computer people for the great humour that John Robbins put within the pages.
I have a problem at work, dealing with the clipboard and the need to have a static thread to use the functions, and on page 119 he cites that exact issue and how he resolved it.
I have not finished the book, - I am almost half way. The part about setting up a Symbol server went a bit beyond what I think I can do within my employers site, and it sounds like a lot of work, however his point is that the mini dumps that a user can send you can be loaded and you can pinpoint the exception with all of the data values, and call stack that was loaded at the time - which allows you to see what the problem was. Potentially saving hundreds of hours!
I also noted that there were a few links in the book pointing to the gotdotnet website,which I know has been reduced to very few remaining links (Microsoft has abandoned) - so some of this book (a few lines at this point) is going out of date due to the reliance on some web links still being there.
I personally find the parts about FxCop and the Code Coverage in VS 2005 as a good piece of instruction on establishing your own code rules - and if you want to have standards enforced - it will help you see how you can improve on your code. If you are avoiding improving your standards, then you can skip that - I would encourage you to learn from it rather than skip it.
If you are working in .Net 2.0 (or higher) as a developer - I cannot recommend this book highly enough. I had kind of ignored it on my shelf, and that will not be the case from now on. It has started to travel with me. I read it every chance I get so I can finish it and benefit from the incredibly practical examples and enjoyment of really great writing, that can spice up the book with real humour that everyone can understand. Outstanding!
Some highlights include the great coverage of Visual studio and WinDBG. I use it regularly to look up a command or a tip-and-trick.
I didn't give it five stars because some of the topics are too developed. For example, I didn't need or want the long explanation about writing FxCop rules. I also found the book light on topics that are relevant to debugging such as instrumentation (perf counters and logging).
Overall this is book worth reading if you want to improve your development skills.
The book starts with chapters about the debugging process and the setup. Then it talks about proactive programming techniques. And the book concludes with guidance and tips for using the Visual Studio debugger and WinDBG, SOS and ADPlus.
The last thing I want to mention is that John Robbins has a worderful blog that you should subscribe to if you are interested in the subject and you can ask him questions about his book. I was always happy with his replies.
Enjoy!
Top reviews from other countries
This book is not just about debugging. It is also about how to prevent having to spend hours upon hours debugging your code. It teaches some excellent practices (such as creating custom rules - and custom dictionaries! - used in code analysis by FxCop (see preceeding review)), and reinforces it with plethora of code for you to use for just the price of the book!! Apart from focusing just on debugging your own implementations, the book also looks at the bugs potentially introduced by versioning inconsistences and the known Visual Studio bugs, too (moreover, it offers solutions to those as well!).
The bottom line: I love it. If you'd rather write new code than debug your old stuff, do buy this book. It'll help you free your hands for new developement, and you'll love it too.
プログラムが動作し始めてからのデバッグ手法はもちろん、コードを書いている段階から役に立つテクニックや方法論、小粒でも便利なユーティリティーソフトの紹介まで幅広く取り上げています。
.NET 開発に限るという前提で星5つをつけましたが、同シリーズの前の二冊に比べるとボリュームは少なく、ネイティブのデバッグに関してほとんど記述がありません。前作 Debugging Applications for .NET and Windows も一緒に持っておいて損はないかもしれません。