Debugging by Thinking: A Multidisciplinary Approach (HP Technologies)

Experiments are like cross-questioning a witness who will tell the truth but not the whole truth.

—Alan Gregg

9.1 Preview

This chapter describes in detail basic and refined debugging tactics that every programmer should be able to use, given that they’re supported in his or her development environment. It develops a standard methodology for defining tactics according to a list of questions. Each tactic is described using this methodology and is concluded by an example of finding an actual bug using it.

The following debugging tactics are described as follows:

Категории