Debugging Applications for Microsoft® .NET and Microsoft... and over one million other books are available for Amazon Kindle. Learn more

Kindle Edition
 
   
Have one to sell? Sell yours here
Debugging Applications for Microsoft® .NET and Microsoft Windows® (Pro-Developer)
 
 
Start reading Debugging Applications for Microsoft® .NET and Microsoft... on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Debugging Applications for Microsoft® .NET and Microsoft Windows® (Pro-Developer) [Paperback]

John Robbins (Author)
4.8 out of 5 stars  See all reviews (12 customer reviews)


Available from these sellers.


Formats

Amazon Price New from Used from
Kindle Edition $38.39  
Paperback --  

Book Description

Pro-Developer April 23, 2003

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.


Customers Who Bought This Item Also Bought


Editorial Reviews

Amazon.com Review

In the predecessor volume of Debugging Applications for Microsoft .NET and Microsoft Windows, which dealt with Visual Basic 6, John Robbins broke new ground by codifying the techniques and strategies involved in debugging Microsoft Windows applications. In this tremendously revised and much longer version (in keeping with Microsoft's substantial shift to the .NET architecture), Robbins achieves great progress in making a proper professional discipline out of debugging--and in showing how to design software to keep bugs from appearing in the first place.

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 (and, naturally, the Deadline of Death is looming), 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 minimize 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.

About the Author

Robbins is considered to be one of the world's leading experts on the dietary link to the environment and health. He is the founder of EarthSave International.

Product Details

  • Paperback: 801 pages
  • Publisher: Microsoft Press (April 23, 2003)
  • Language: English
  • ISBN-10: 0735615365
  • ISBN-13: 978-0735615366
  • Product Dimensions: 9.4 x 7.6 x 2.3 inches
  • Shipping Weight: 3.9 pounds
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (12 customer reviews)
  • Amazon Best Sellers Rank: #545,727 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

12 Reviews
5 star:
 (11)
4 star:    (0)
3 star:    (0)
2 star:
 (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.8 out of 5 stars (12 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

21 of 23 people found the following review helpful:
5.0 out of 5 stars Never Leave Home Without It, April 12, 2003
By 
Elijah D "dev1zero" (Bothell, WA United States) - See all my reviews
This review is from: Debugging Applications for Microsoft® .NET and Microsoft Windows® (Pro-Developer) (Paperback)
Being John Robbin's greatest fan, I have been monitoring the release of this book right after it appeared on amazon. Once It hit the market for real, I got a copy via express delivery and I have to say it's worth the wait. I haven't actually read the whole think yet but its very impressive so far.

John walks the reader through debugging without tears. This edition of the book does contain a lot more information and is very current (a little too current cos all the binaries were built with VS .NET 2003 which is not in the market at this time.
However, this didn't hinder me since I have a copy of the RC. The first part of the book covers coding practices that will reduce the need to debug in the first place. The other parts of the book go into the dirty details of going after bugs with full confidence. From native win32 to managed code to multithreading; its all here.

If you're tired of scratching your head even when you have a debugger in front of you, stop reading my review and get yourself a copy of this book right away.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


39 of 54 people found the following review helpful:
2.0 out of 5 stars Below the belt..., September 23, 2003
By 
Paul Selormey (Toyohashi, Aichi Japan) - See all my reviews
(REAL NAME)   
This review is from: Debugging Applications for Microsoft® .NET and Microsoft Windows® (Pro-Developer) (Paperback)
I bought this book to get a complete knowledge of the .NET framework debugging and got nothing. May be the .NET in the title applies to the fact that the author is using the VS.NET. If you have got the author's previous book on debugging then there is no need to waste money on this one.

It discusses mainly C/C++ debugging in a typical MFC style (ASSERT/VERIFY etc).

Here is the content at a glance:

1. Bugs: Where they come From and How you Solve Them
2. Getting Started Debugging
3. Debugging During Coding

4. Operating System Debugging Support and How Win32 Debuggers Work
5. Advanced Debugger Usage with Visual Studio .NET
6. Advanced .NET Debugging with Visual Studio .NET
7. Advanced Native Code Techniques with Visual Studio .NET
8. Advanced Native Code Techniques with WinDGB

9. Extending the Visual Studio .NET IDE
10. Managed Exception Monitoring
11. Flow Tracing

12. Finding Source and Line Information with Just a Crash Address
13. Crash Handlers
14. Debugging Windows Services and DLLs That Load into Services
15. Multithreaded Deadlocks
16. Automated Testing
17. The Debug C Run-Time Library and Memory Management
18. FastTrace: A High-Performance Tracing Tool for Server Applications
19. Smoothing the Working Set

Appendixes.

As you can tell, there is hardly a .NET stuff to pay for, so for those of us owing the author's previous debugging book, this is just a second edition with .NET appended to confuse buyers!

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


3 of 3 people found the following review helpful:
5.0 out of 5 stars A very useful discussion of Windows debugging practices, January 7, 2005
By 
Brent A. Thale (San Francisco, CA USA) - See all my reviews
(REAL NAME)   
This review is from: Debugging Applications for Microsoft® .NET and Microsoft Windows® (Pro-Developer) (Paperback)
This book brings a vast amount of Windows-specific debugging information together in one place and has been very helpful to me. Some of this info could be found elsewhere, but only by sorting through dozens of documentation pages and magazine articles, some many years old, and additionally the author adds value by giving very explicit instructions (even providing source code) on how to do things that are often only hinted at in the Microsoft documentation.

Most useful to me were the symbol-server tips, the SuperAssert macro and seeing how it does it what it does, crash handling in general, and the author's insight into why certain things are so slow (like OutputDebugString).

This book does have a not-so-subtle anti-C++ bias, there are little digs at C++ coding techniques throughout the book, which seem a little antiquated and inappropriate in 2005.

In the chapter on the debug C-runtime, I'm really surprised the author does not suggest writing a leak-detection system that captures the callstack at the time of allocation, I've found the C-runtime's file-and-line-oriented leak report fairly useless since the allocation is often deep inside some container class, you really need to know what code caused the allocation, not what code actually did the allocation. And the recommended feature that walks the entire heap every N allocations is unusable (it's too slow) in a large C++ program which might have many thousands of allocations. Also, redefining C++ keywords as suggested seems so evil, there are better ways of doing this.

I believe Windows XP Service Pack 2 changed some Windows internals that affect crash handling/debugging/stack walking, I wouldn't mind seeing an updated volume that covers these changes in detail.

Overall though, an excellent book, the most useful debugging book I've found so far.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews










Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
crash handler, operating system symbols, pdb symbols, breakpoint syntax, debugging war story, operating system heaps, crash address, symbol server, symbol engine, thread information block, finalizer thread, hooking functions, host shim, malloc dbg, virgin files, debug loop, crash dialog box, standard stack frames, unhandled exception filter, debugging event, advanced breakpoints, allocation hook, data breakpoints, deep validation, treating warnings
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Visual Studio, Visual Basic, Microsoft Windows, Process Explorer, Common Debugging Question, Windows Server, Set Next Statement, Windows Forms, Installation Dir, John Robbins, Task Manager, Step Out, Debugger Users, Microsoft Press, Configuration Properties, Mark Russinovich, Matt Pietrek, Application Error, Choose Breakpoints, Power Debugging, Program Database, Run To Cursor, Open Executable, Open Solution, Program Files
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Surprise Me!
Search Inside This Book:




What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Create a Listmania! list

So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject