Amazon.co.uk Review
The greatest value of Robbins' work is in his treatment of bugs' origins in flawed software design and their later manifestation in faulty coding practice. He explains in great detail, for example, how to use assertions (in concert with error handling) to keep bad data from getting into software modules and causing trouble. This coverage is why your development team should read this book before getting too far down the development path.
If you're already done with your software system and just can't make it work right, this book offers hope as well. Want to write a method that you invoke manually only when the program is at a breakpoint in the debugger? This book shows how. Need lots of details on how to add assembly-language code to your Visual C++ .NET software? You'll find them here. There's a lot of information about how debuggers do their work in general, too. To put it concisely, this book contains a career's worth of information on how to keep bugs to a minimum and track them down when they occur. --David Wall
Topics covered: how to design Microsoft Windows software to minimise design flaws, implement designs with as few software errors as possible, and use diagnostic tools and techniques to squash bugs that make it into your systems. All the latest Visual Studio .NET tools get attention, as do techniques for getting the most out of those tools. Specific coverage goes to strategies for fixing thread deadlock problems, resolving memory troubles, and reading Dr Watson dumps. --Amazon.com
Product Description
You get huge development advantages with Microsoft Visual Studio® .NET 2003—but you need a new bag of debugging tricks to take full advantage of them in today’s .NET and Win32® development worlds. Learn lethally effective, real-world application debugging techniques for .NET Framework 1.1 and Windows with this fully updated programming guide. Debugging expert John Robbins expands the first edition of his classic debugging book with all-new scenarios and bug-killing tools, tips, and techniques. You’ll see every .NET and Windows debugging scenario here—from XML Web services and Microsoft ASP.NET to Windows services and exceptions. Along with John’s expert guidance, you get more than 6 MB of his battle-tested source code—for the tools and tactics you need to ship better software faster!
Topics covered include:
- Where bugs come from and how to think about solving them
- Debugging during coding
- Operating system debugging support and how Win32 debuggers work
- Advanced debugger usage and .NET debugging with Visual Studio .NET
- Advanced native code techniques with Visual Studio .NET and WinDBG
- Extending the Visual Studio .NET integrated development environment
- Managed exception monitoring
- Flow tracing and performance
- Finding source and line information with just a crash address
- Crash handlers
- Debugging Windows services and DLLs that load into services
- Multithreaded deadlocks
- Automated testing
- The Debug C run-time library
- A high-performance tracing tool for server applications
- Smoothing the working set
- Appendixes: Reading Dr. Watson log files, plus resources for .NET and Windows developers
CD-ROM features:
- 6+ MB of professional-level source code samples written in Microsoft Visual C++®, Visual C#®, and Visual Basic® .NET
- Debugging Tools for Windows
- Microsoft .NET Framework 1.1 SDK
- Windows Application Compatibility Toolkit (ACT)
A Note Regarding the CD or DVD
The print version of this book ships with a CD or DVD. For those customers purchasing one of the digital formats in which this book is available, we are pleased to offer the CD/DVD content as a free download via O'Reilly Media's Digital Distribution services. To download this content, please visit O'Reilly's web site, search for the title of this book to find its catalog page, and click on the link below the cover image (Examples, Companion Content, or Practice Files). Note that while we provide as much of the media content as we are able via free download, we are sometimes limited by licensing restrictions. Please direct any questions or concerns to booktech@oreilly.com.
