© 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_9

9. Debugging Design Patterns

Dmitry Vostokov1  
(1)
Dalkey, Dublin, Ireland
 

In the previous chapter, you looked at debugging architecture patterns, answering the most important question of where, when, and how we debug and what we debug.

In this chapter, I introduce the most common debugging design patterns (Figure 9-1) in real-life case studies involving elementary diagnostics patterns, analysis, and debugging architecture. These patterns are Mutation, Replacement, Isolation, and Try-Catch. The selection of pattern names is based on the author's ...

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.