Debugging
摘要
Debugging is an inevitable part of programming in any language. Debugging programs written in C is very different from debugging programs written in other languages, especially scripting languages. This chapter covers debug information, how optimization affects debugging, core dumps, and common bugs, recommends enabling warnings that can catch bugs early, and presents a case study of a truly bizarre bug.