Knowing What to Chase

A programmer’s lapse caused a bug, and to find out what it was, the debugger must think more than the programmer did. Like Einstein said: “You cannot solve a problem at the level at which it was created.” The bug one is chasing is in a vast code base, and its symptoms are hidden in massive log spews. The debugger has to narrow it down in the limited time available. One way to accomplish this is by chasing the right questions in order and choosing the right suspects to narrow down further. If the debugger is also the code's author, this is easy, but things get challenging if one is debugging someone else's code. In this lesson, we will list the guidelines for lining up suspects to simplify this process.

Get hands-on with 1200+ tech skills courses.