* compile time bugs
* run time errors
* logic and design errors
* machine errors
Debugging Visual C++ Windows examines many of the factors that indirectly affect debugging. It includes a review of solid project planning and management strategies, testing plans, and known compiler bugs. You will learn how compiler tools such as TRACE, Spy, and Stress work. And you will discover how to monitor memory operations in your program as it executes - while viewing the results 'real time' in your debug window!
Also included is a critical review of the debugging tools that ship with Visual C++, as well as, commercial debuggers such as BoundsChecker and CodeWizard. Tips on debugging database applications are also provided (appendices are provided on ODBC error codes and SQL state values).
The companion disk contains workspace/projects demonstrating memory state checking, error message retrieval, compiler bugs, and how to use the #pragma compiler directive, ASSERT and TRACE.
In early chapters, the author looks at the sources of errors in C++ programs, whether machine (such as round-off errors), compiler, run-time, or logic and design errors, and offers his expertise in minimizing them. A chapter on memory management functions--a common source of trouble in C++--demystifies what goes on underneath the hood. Further chapters look at the powerful debugging features available in Visual C++, such as assertions and built-in debugging functions that most developers probably aren't aware of. The author's expertise really shines in this section, offering some invaluable hints that should be a part of every Microsoft Foundation Classes (MFC) programmer's repertoire.
In subsequent sections, the author looks at exceptions and potential problems when porting code. The book closes with a tour of Visual C++ tools, such as the Profiler, Spy++, and Process Viewer, and an examination of popular add-on tools such as NuMega's BoundsChecker (for memory validation) and Microsoft Visual Test (for automated testing). For database programmers, a handy appendix lists Open Database Connectivity (ODBC) error codes. --Richard Dragan
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon |