Lesson plan

Debugging pattern

A debugging pattern describes a generic set of steps to rectify or correct a bug within a software system. It is a solution to a recurring problem that is related to a particular bug or type of bug in a specific context. A bug pattern is a particular type of pattern. The original concept of a pattern was introduced by the architect Christopher Alexander as a design pattern. Some examples of debugging patterns include: * Eliminate noise bug pattern – Isolate and expose a particular bug by eliminating all other noise in the system. This enables you to concentrate on finding the real issue. * Recurring bug pattern – Expose a bug via a unit test. Run that unit test as part of a standard build from that moment on. This ensure that the bug will not recur. * Time-specific bug pattern – Expose the bug by writing a continuous test that runs continuously and fails when an expected error occurs. This is useful for transient bugs.

Back to article

Article summary

A debugging pattern describes a generic set of steps to rectify or correct a bug within a software system. It is a solution to a recurring problem that is related to a particular bug or type of bug in a specific context. A bug pattern is a particular type of pattern. The original concept of a pattern was introduced by the architect Christopher Alexander as a design pattern. Some examples of debugging patterns include: * Eliminate noise bug pattern – Isolate and expose a particular bug by eliminating all other noise in the system. This enables you to concentrate on finding the real issue. * Recurring bug pattern – Expose a bug via a unit test. Run that unit test as part of a standard build from that moment on. This ensure that the bug will not recur. * Time-specific bug pattern – Expose the bug by writing a continuous test that runs continuously and fails when an expected error occurs. This is useful for transient bugs.

Key claims

No claims recorded.

Discussion questions

  1. Summarise the article in your own words. Which single claim would you verify first, and why?
  2. Which claim in this article is most likely to be revised as the sources update? How would you check its current status?
  3. If two sources disagreed about one of these facts, what would you need in order to trust one over the other?

Bibliography

No sources recorded.

Key claims and bibliography are generated from the same tracked claims and sources as the article page.