
Practical Debugging in C++
Pearson (Publisher)
Published on 15. May 2002
Book
Paperback/Softback
112 pages
978-0-13-065394-9 (ISBN)
Description
Appropriate as a supplementary text for any course teaching C++ programming or using C++ as a programming language in departments of Computer Science, Engineering, CIS, MIS, IT, and Continuing Education.
Practical Debugging in C++ is the first debugging text written expressly for the beginning to intermediate level programmer. For the beginning programmer, it is a short, clear debugging guide that serves as a valuable companion to their introductory programming text when writing C++ programs. For the more advanced programmer, the guide provides a quick primer in C++ debugging with a series of examples of common syntax and semantic errors and how they can be detected and corrected. The authors cover both tracing and interactive debugger techniques.
Practical Debugging in C++ is the first debugging text written expressly for the beginning to intermediate level programmer. For the beginning programmer, it is a short, clear debugging guide that serves as a valuable companion to their introductory programming text when writing C++ programs. For the more advanced programmer, the guide provides a quick primer in C++ debugging with a series of examples of common syntax and semantic errors and how they can be detected and corrected. The authors cover both tracing and interactive debugger techniques.
More details
Language
English
Place of publication
United States
Publishing group
Pearson Education (US)
Target group
College/higher education
Dimensions
Width: 229 mm
Thickness: 8 mm
Weight
186 gr
ISBN-13
978-0-13-065394-9 (9780130653949)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Persons
Ann R. Ford is currently a Lecturer of electrical engineering and computer science at the University of Michigan, Ann Arbor. She has taught introductory courses in C and C++ programming for the past 10 years and has applied and refined these debugging principles for her many students. She received the B.A. degree in psychology from the State University of New York at Buffalo and the M.S. degree in computer and communication science from the University of Michigan, Ann Arbor.
Toby J. Teorey is currently a Professor of electrical engineering and computer science at the University of Michigan, Ann Arbor. He received the B.S. and M.S. degrees in electrical engineering from the University of Arizona, Tucson and the Ph.D. degree in computer science from the University of Wisconsin, Madison. He is the author of Database Modeling and Design (1999) and has taught courses in C++ programming and database management systems extensively.
Toby J. Teorey is currently a Professor of electrical engineering and computer science at the University of Michigan, Ann Arbor. He received the B.S. and M.S. degrees in electrical engineering from the University of Arizona, Tucson and the Ph.D. degree in computer science from the University of Wisconsin, Madison. He is the author of Database Modeling and Design (1999) and has taught courses in C++ programming and database management systems extensively.
Content
1. Introduction.
Chapter Objectives. Motivation for Debugging Skills. Approaches to Debugging.
2. Common Syntax and Semantic Errors.
Chapter Objectives. Syntax Errors. Syntax Warnings. Semantic Errors.
3. Tracing Techniques for Debugging.
Chapter Objectives. Basic Tracing. Common Errors Detectable with Basic Tracing. Trace On and Off Flag. Tracing Using Function Calls. Tracing for Data in Arrays. Where to Insert the Traces and What Variables to Display. Using the Assert Macro.
4. Trace Debugging for More Advanced C++ Constructs.
Chapter Objectives. Strings. Pointers. Structs. Classes.
5. Using an Interactive Debugger.
Chapter Objectives. Fundamentals. Debugging with Metrowerks CodeWarrior. Example: Debugging a Sample C++ Program Using Metrowerks CodeWarrior. Debugging with Microsoft (R) Visual C++ (TM). Example: Debugging a Sample C++ Program Using Microsoft (R) Visual C++ (TM).
Appendix A: The 32 Most Common Bugs in First Programs.
Appendix B: Checklist for Error Detection and Prevention.
Chapter Objectives. Motivation for Debugging Skills. Approaches to Debugging.
2. Common Syntax and Semantic Errors.
Chapter Objectives. Syntax Errors. Syntax Warnings. Semantic Errors.
3. Tracing Techniques for Debugging.
Chapter Objectives. Basic Tracing. Common Errors Detectable with Basic Tracing. Trace On and Off Flag. Tracing Using Function Calls. Tracing for Data in Arrays. Where to Insert the Traces and What Variables to Display. Using the Assert Macro.
4. Trace Debugging for More Advanced C++ Constructs.
Chapter Objectives. Strings. Pointers. Structs. Classes.
5. Using an Interactive Debugger.
Chapter Objectives. Fundamentals. Debugging with Metrowerks CodeWarrior. Example: Debugging a Sample C++ Program Using Metrowerks CodeWarrior. Debugging with Microsoft (R) Visual C++ (TM). Example: Debugging a Sample C++ Program Using Microsoft (R) Visual C++ (TM).
Appendix A: The 32 Most Common Bugs in First Programs.
Appendix B: Checklist for Error Detection and Prevention.