© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
D. VostokovPython Debugging for AI, Machine Learning, and Cloud Computinghttps://doi.org/10.1007/978-1-4842-9745-2_2

2. Pattern-Oriented Debugging

Dmitry Vostokov1  
(1)
Dalkey, Dublin, Ireland
 

This chapter introduces the pattern-oriented debugging process approach and the pattern languages you will use in subsequent chapters.

The History of the Idea

The idea of using patterns in debugging is not new1. Earlier, such patterns came in two types: bug patterns2 and debug patterns3. Before 2000, only a few debugging-related patterns could be found, such as the Debug Printing Method4.

Bug patterns are usually specific patterns for specific languages and platforms. ...

Get Python Debugging for AI, Machine Learning, and Cloud Computing: A Pattern-Oriented Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.