Practical Debugging in C
Ann R. Ford, Tobey J. Teorey
Abstract
Ann R. Ford, Tobey J. Teorey
Abstract
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++ . Example: Debugging a Sample C++ Program Using Microsoft(R) Visual C++ . Appendix A: The 32 Most Common Bugs in First Programs. Appendix B: Checklist for Error Detection and Prevention.
OpenAlex reports 5 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
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++ . Example: Debugging a Sample C++ Program Using Microsoft(R) Visual C++ . Appendix A: The 32 Most Common Bugs in First Programs. Appendix B: Checklist for Error Detection and Prevention.
Key concepts: Debugging, Debugger, Tracing, Algorithmic program debugging, Programming language, Computer science, TRACE (psycholinguistics), Syntax