Debugging C and C++ code in a Unix environment
by J.H.M. Dassen and I.G. Sprinkhuizen-Kuyper
|Author(s):J.H.M. Dassen and I.G. Sprinkhuizen-Kuyper|
|Publisher: Free Software Foundation, Inc.|
About the book Debugging C and C++ code in a Unix environment
Debugging C and C++ code in a Unix environment is a COMPUTER ENGINEERING book which was published by Free Software Foundation, Inc. . J.H.M. Dassen and I.G. Sprinkhuizen-Kuyper is the author of this book. This book is written in English .
This document describes several techniques and tools for debugging code in C-like languages in a Unix environment. From the book: "Debugging is the art of removing bugs from software. The software may be code, documentation, or any other intellectual product. Here, we will look at the debugging of computer programs (or libraries) written in C or C++ in a Unix environment. Most of it is also applicable to other compiled procedural and object oriented languages like Pascal, Modula and Objective C. We will mostly focus on techniques and tools to assist in debugging. Of course, it is better to prevent bugs from slipping into your code in the first place. Sometimes it is difficult to distinguish between good coding practices and good debugging practices, because good debugging practices often involve preparation and prevention. So, we will also discuss some good coding practices that you should consider adopting. These practices will not make your programs bug-free, but they will diminish the occurrence of certain types of bugs, while preparing you better for dealing with the remaining ones."