Tech Quarto
Search Advanced SearchView Cart   Checkout   
 Location:  Home » Windows » Debugging Windows Programs: Strategies, Tools, and Techniques for Visual C++ Programmers (DevelopMentor Series)  
Categories
Computer Science
The Internet
For Dummies
Web Browsers
Windows
Digital Culture
Multimedia
Mobile & Wireless
Subcategories
Algorithms
General
General AAS
Language
Objects
Tutorials
New Releases
Learning OpenCV: Computer Vision with the OpenCV Library
Programming in Objective-C 2.0 (2nd Edition) (Developer's Library)
Algorithms in a Nutshell (In a Nutshell (O'Reilly))
Learn Objective–C on the Mac (Learn)
The Art of Debugging with GDB, DDD, and Eclipse
Learn C on the Mac (Learn)
Programming: Principles and Practice Using C++
Foundations of C++/CLI: The Visual C++ Language for .NET 3.5 (Expert's Voice in .Net)
Exploring C++: The Programmer’s Introduction to C++
LINQ Programming
Visit Laptop Nirvana for the best Cheap Discount Laptops
Bestsellers
Agile Estimating and Planning (Robert C. Martin Series)
Learning OpenCV: Computer Vision with the OpenCV Library
C Programming Language (2nd Edition) (Prentice Hall Software)
C++ Primer Plus (5th Edition)
Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition) (Addison-Wesley Professional Computing Series)
The C++ Programming Language: Special Edition (3rd Edition)
Programming in Objective-C 2.0 (2nd Edition) (Developer's Library)
Programming in Objective-C (Developer's Library)
The C++ Standard Library: A Tutorial and Reference
C++ How to Program (6th Edition)

Debugging Windows Programs: Strategies, Tools, and Techniques for Visual C++ Programmers (DevelopMentor Series)

Debugging Windows Programs: Strategies, Tools, and Techniques for Visual C++ Programmers (DevelopMentor Series)

zoom enlarge 
Authors: Everett N. Mckay, Mike Woodring
Publisher: Addison-Wesley Professional
Category: Book

List Price: $44.95
Buy Used: $9.60
You Save: $35.35 (79%)



New (14) Used (13) from $9.60

Avg. Customer Rating: 4.5 out of 5 stars 13 reviews
Sales Rank: 777840

Media: Paperback
Number Of Items: 1
Pages: 592
Shipping Weight (lbs): 2.1
Dimensions (in): 9 x 7.4 x 1.5

ISBN: 020170238X
Dewey Decimal Number: 005.14
UPC: 785342702385
EAN: 9780201702385
ASIN: 020170238X

Publication Date: August 28, 2000
Availability: Usually ships in 1-2 business days
Condition: softcover,clean pages no marks, -FREE USPS CONFIRMATION NUMBER

Editorial Reviews:

Amazon.com Review
Debugging Windows Programs: Strategies, Tools, and Techniques for Visual C++ Programmers sounds like it might focus on using a debugger exclusively, but this book is actually a wide-ranging tour of how to write better, more robust Visual C++ code that can be debugged more easily. Mixing plenty of nuts-and-bolts tips with higher-level strategies for effective testing, Debugging Windows Programs offers plenty of valuable expertise for any working C++ programmer.

The focus is on providing practical tips for more successful debugging, but many of the suggestions are for tweaking the way in which you write C++ code. Early sections examine how to take full advantage of assert statements (whether in C, MFC, or custom functions), which can be used to write safer code; trace statements, which are used to log debug messages, are covered, too. (Chances are that you haven't seen all of the APIs; luckily, they're rounded up for you here.) There are also numerous tips about C++ style, like how to choose readable variable names, along with the debugging dos and don'ts of working with errors, exceptions, COM objects, and threads.

Chances are, even if you are an experienced Visual C++ programmer, you'll learn something useful about how to get more out of the C++ debugger from the last sections of this book. From the right compiler and linker switches (which can be mysterious) to how to customize watch variables by tweaking the configuration files in C++, you'll learn how to be more productive with this tool. The text concludes with another useful section, an FAQ-style listing of dozens of common debugging questions and answers.

Although it's highly practical, the book also recommends thinking about your code, applying strategies for each aspect of debugging features consistently and effectively. The bottom line is that you not only will find bugs in present code, but also you'll design code that's easier to test and debug in the future. In all, Debugging Windows Programs delivers a good mix of practical tips and strategies that'll help C++ programmers create more robust (and testable) code. --Richard Dragan

Topics covered:

  • The debugging and testing process
  • Tips for writing better Visual C++ code
  • Assertions (C, MFC, and custom assert statements)
  • Logging output with trace statements (including trace APIs)
  • Exception handling and debugging
  • First-chance and last-chance exceptions
  • Tips for better debugging in C++
  • Naming conventions
  • Postmortem
  • Just-in-time (JIT) and remote debugging

  • Using map and .pdb files
  • Compiler and linking options
  • Debug windows
  • Customizing the C++ debugging environment
  • Basic and advanced debugging techniques
  • Catching memory leaks with the debug heap
  • Debugging multithreaded programs (including avoiding race conditions and deadlock)
  • A primer for COM debugging
  • Frequently asked questions and answers about debugging


  • Product Description
    Bugs happen -- and as code becomes increasingly complex, bugs become even harder to prevent, detect, and remove. Moreover, code built with COM, DCOM, ATL, and multithreading presents new debugging challenges. Debugging Windows Programs presents today's best techniques for tracking down bugs in Windows software -- as well as a strategic approach for achieving optimal results without unnecessary expense and delay. The book presents in-depth coverage of debugging using Visual C++ 7.0 and the MFC and ATL application frameworks, with much of the coverage applicable to other Windows C++ development environments and programming languages as well. Part I focuses on debugging strategies, including how to write code that helps reveal bugs. Next, the book shows how to make the most of the leading Windows debugging tools, including the Visual C++ Debugger. Finally, in Part III, the author focuses on specific solutions to the most common debugging problems, covering memory, pointers, function returns, Windows resources, and much more.


    Customer Reviews:   Read 8 more reviews...

    3 out of 5 stars Useful but expensive and poorly produced   March 3, 2006
     1 out of 1 found this review helpful

    Lots of useful information, particularly the tips for debugging release executables, but very poorly produced as a book.

    The copy I received (and returned) appeared to have been made from a badly cropped set of bound photocopies. This is completely unacceptable at this price.



    4 out of 5 stars Very good but a little dated   October 29, 2005
     1 out of 1 found this review helpful

    This is a very good book, although it is now a little dated. The explanations on customizing watch windows, and tuning default step over behavior has already payed for itself in terms of time savings.


    2 out of 5 stars Bad Print   January 13, 2005
     4 out of 6 found this review helpful

    I bought this book and was so shocked to see the print quality of the book. All the left inside pages had incomplete sentences due to print. Not only this the words break into next sentences. I have never seen such a bad quality of print in my life. The font is pathetic. I have to say this but I can guarantee the technical writers/review did not review this book after the print because its impossible to read the pages beacuse the sentences are incomplete and words left out b'cos of mis print.
    Is this only my copy or every copy has this problem. Can somebody confirm this? I am surprised how anybody has not noticed this?



    5 out of 5 stars A MUST HAVE. PERIOD!   July 21, 2004
     3 out of 3 found this review helpful

    This is the best book in debugging I have ever seen. What I like most about this book in addition to the technical value it has, is being concise and more to the point. There no much unnecessary detail. For people with little patience on reading like me, this will take you directly to the problem you have.

    - The book covers the most common issues a developer needs while debugging his application. I will not go into detail, but things like debugging memory problems or finding where your application crashed (in the source code level) having the crash address, to deadlocks and multithreading.

    - The best chapter in the book in my openion is the multithreading and deadlock analysis. The best treatment in a book. Its coverage is even better than John Robin's book.

    If you have to buy only one book about debugging, buy this one. Only if you are rich, and willing to buy another one just for the sake of it, buy John Robin's



    5 out of 5 stars Pays for itself within your first project   September 28, 2002
     5 out of 6 found this review helpful

    I wish I had this book before - only discovered it recently. This book pays for itself within your first project. Surgical precision-like debugging. Wealth of information. I hope they are working on a sequel to this book for .Net development.

    Powered by Associate-O-Matic