Publisher description
Debugging Windows Programs 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 C++ code that can be more easily debugged. Mixing plenty of nuts-and-bolts tips with higher-level strategies for effective testing, Debugging 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 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 also covered. There are also numerous tips about C++ style, 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 C++ programmer, you will learn something useful about how to get more out of the Visual C++ debugger from the last sections of this book. From the right compiler and linker switches to how to customise watch variables by tweaking the configuration files in Visual C++, you will learn how to be more productive with this tool. The text concludes with another useful section, a FAQ-style listing of dozens of common debugging questions and answers.
Though 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 will not only find bugs in present code, but you will also design code that is easier to test and debug in the future. In all, Debugging Windows Programs delivers a good mix of practical tips and strategies that will help C++ programmers create more robust (and testable) code. --Richard Dragan
More books by the authors
Similar books
Rate the book
Write a review and share your opinion with others. Try to focus on the content of the book. Read our instructions for further information.
Debugging Windows Programs: Strategies, Tools and Techniques for Visual C++ Programmers
Book reviews » Debugging Windows Programs: Strategies, Tools and Techniques for Visual C++ Programmers (DevelopMentor S.)
|
|
![Debugging Windows Programs: Strategies, Tools and Techniques for Visual C++ Programmers (DevelopMentor S.)](/images/background.gif) |
![Debugging Windows Programs: Strategies, Tools and Techniques for Visual C++ Programmers (DevelopMentor S.)](/images/background.gif) |
|
|
|