2002Unpublished venueRequires access

Practical Debugging in C

Ann R. Ford, Tobey J. Teorey

Open publisher page 5 citations

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.

About this research paper

What this paper is about

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.

Why it matters

OpenAlex reports 5 citations for this work. Citation counts describe recorded attention and do not establish research quality.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available 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.

Key concepts: Debugging, Debugger, Tracing, Algorithmic program debugging, Programming language, Computer science, TRACE (psycholinguistics), Syntax

Related papers

Back to paper searchBrowse research topicsOriginal source
Practical Debugging in C — Research Paper | ScholarLens