The Science of Debugging
The Rest of This Book


The Rest of this Book


Chapter 1: The Science of Debugging Chapter 1 is a quick definition of terms and phrases, and a breakdown of what makes up the entire debugging process.

Chapter 2: Project Planning This chapter deals with the most crucial and most overlooked aspect of debugging: project planning. A little time spent here will go a long way, and I advise no one to pass it over.

Chapter 3: Version Control Software (CVS) Many small projects grow over time to more than a one-man programming staff. Version Control Software, such as CVS or Source Safe can go a long way towards making team work not only more productive, but less error prone.

Chapter 4: Searching Files (Grep and Find Files) To fix a bug, we have to first FIND a bug. While in no way all inclusive, this chapter illustrates the use of tools such as Unix's "grep" and Microsoft's " Find Files" in a bug-detection process.

Chapter 5: Debugging through Logging A soft introduction into directly debugging code; the use of log messages.

Chapter 6: Debugging Using gdb At last, the 'hard' stuff - using gdb to dig into the guts of our program.

Chapter 7: Debugging Using MSVC Same as chapter 6, only MSVC this time.



Index
Preface 1. The Science of Debugging