Closed samvmdev closed 9 months ago
Juan Luis Cano Rodríguez: Debugging in Python, Part 1 ## Timestamps 00:00 Intro to Data Umbrella 02:59 Speaker Introduction 04:22 Talk begins + outline 09:56 Sources of bugs 13:17 Types of debugging - tracing v. interactive 16:20 Interactive debugging 19:17 Interactive debugging - VSCode example 19:38 Debugging is problem-solving 21:13 Technique 1 - Divide and Conquer 23:13 Technique 2 - Hypothesis Testing 25:43 Technique 3 - Reduction 27:47 Technique 4 - Reading Carefully 29:31 Traceback example + exercise 31:40 Think of your future self 32:49 Five (5) debug code tips 36:02 Q&A - Structlog library 37:11 Q&A - What is Rich formatting? 38:15 Q&A - Larger screenshot review (ImportError, VSCode/JupyterLab debug interface) 41:02 Q&A - Stack Overflow management tips 44:04 Q&A - Template for bug reporting 45:54 Reviewing debug tips and tricks 47:17 Q&A + inspiration for debugging 49:14 Comments - get familiar with common tracebacks / errors seen to produce correct syntax 51:38 Q&A - How does unit testing factor into debugging? ## Resources - http://sscce.org/ (Reduction Technique) - https://projecteuler.net/ (Exercises)
@greenhacks Thank you. a) the timestamps have been added to the video b) the checklist has been updated c) the timestamps have been added to the Markdown file.