Debugging patterns

From HandWiki - Reading time: 1 min

Debugging patterns describe 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.


See also

External links





Licensed under CC BY-SA 3.0 | Source: https://handwiki.org/wiki/Debugging_patterns
18 views | Status: cached on August 29 2024 10:49:27
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF