Practical Debugging in C++

Practical Debugging in C++

By (author)  , By (author) 

List price: US$21.79

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks

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.show more

Product details

  • Paperback | 112 pages
  • 152.4 x 228.6 x 6.4mm | 190.51g
  • Pearson Education (US)
  • Pearson
  • United States
  • English
  • 0130653942
  • 9780130653949

Table of contents

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.show more

About Ann Ford

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.show more