请输入您要查询的百科知识:

 

词条 Debugging patterns
释义

  1. See also

  2. External links

{{unreferenced|date=November 2018}}

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.

See also

  • Design pattern
  • Architectural pattern (computer science)

External links

  • A Pattern Language for Software Debugging (PDF)

2 : Software architecture|Software design patterns

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/10 13:47:35