Product Details
Debugging Microsoft .NET 2.0 Applications

Debugging Microsoft .NET 2.0 Applications
By John Robbins

List Price: £33.99
Price: £17.98

Availability: Usually dispatched within 1-2 business days
Dispatched from and sold by aphrohead_books

49 new or used available from £6.25

Average customer review:

Product Description

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 


Product Details

  • Amazon Sales Rank: #23975 in Books
  • Published on: 2006-11-10
  • Number of items: 1
  • Binding: Paperback
  • 464 pages

Editorial Reviews

Synopsis
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 #160;


Customer Reviews

Fact or Fiction novel?1
First off, yes the book contains information (tons of valuable links sprinkled with the one or other wisdom of the author (although these were quite often common knowledge in respect to professional programming))

But looking at it from my perspective I was honestly put off by endless tirades of how to bother your boss, how to endanger your job etc. etc. etc.

This book could have been reduced to the links plus approx. 10% of the original text (even less) without losing ANY information (besides the above mentioned fully irrelevant).

This book gave me the impression that the author "taped" a few evenings out with the guys during heaving drinking telling them how cool he is and once in a while actually dwelling on the facts (max 10% <- generous approx.). If you are used to reading a good fact book (e.g. CLR VIA C# Jeffrey Richter, Microsoft Press, Wintellect (same company as John Robbins)) and just consuming it THIS book IS NOT FOR YOU. On the other hand, if you like adventure stories and always wanted one on debugging this might be just what you were always looking for (I hated it from chapter 2 on and had to put it away many many times, having to force myself to start reading again and again and again).

A guide to writing Quality code5
I agree with the previous reviewers. This book covers so much more than 'just' debugging - although there are plenty enough tips on the Visual Studio debugger and WinDBG to make the book worthwhile for that alone.

But John Robbins' main aim is not so much to help you to debug your program in the common sense of the word (i.e. by using an interactive debugger), but rather to 'de-bug' your program by teaching useful techniques and attitudes that will help you to write quality code. The custom Code Analysis (FxCop) rules mentioned by previous reviewers are one example of that; but you'll also learn how to prepare and use your development environment (source control, bug tracking, system builds, etc) to maximise your code quality. And you'll see how to write code that's easy to debug. And there's a slew of free utility code that you can download, which is covered in detail in the book. And a review of loads of useful development tools.

Most importantly, this is a handbook for evangelists of code quality. It's like a practical interpretation of Steve McConnell's classic Code Complete, for .NET developers. In my professional life, I have worked in some very quality-oriented organisations (as well as some not-so) and I know from experience how much can be gained from building in quality from the first. My problem is convincing some of my clients, who often want to take the quickest and cheapest option (and then they pay later). The lucid writing and the infectious fervour for quality in this book have helped me, and will help you, to explain the issues to those with the cheque book. If you are struggling to convince your client/boss that quality is worth the investment, you should seriously consider adding this book into your armoury.

What's more, despite being such a luminary in the Windows development world, John was able to find the time to reply in depth to an email query that I sent. One subtle touch - when he suggested that I might like to write a book review, he was observant enough that he sent me the link to the amazon.co.uk Web site rather than the .com one. Now *that's* the kind of attention to detail that produces quality!

What are you waiting for? Put this in your shopping basket now!

Exceeded all expectations5
When I picked up this book, I must admit I didn't expect to learn that much. However, the amount of invaluable info and references that John Robbins had put into it completely overwhelmed me.
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.