Asked about Debugging systematically
Walk me through how you debug something.
An answer that works
Reproduce it reliably first. Then one hypothesis at a time, choosing the cheapest experiment that could falsify it rather than confirm it. Bisect the pipeline to eliminate half the system per check rather than inspecting sequentially.
Reading an answer is not being able to give one. The section that teaches this is Debugging systematically, 5 hours of Debugging.
Learn this properlyAlso asked about Debugging
An AI feature returns a wrong answer but nothing errors. Where do you start?A bug reproduces about one run in twenty. How do you work on it?How do you approach an intermittent bug?A nightly batch job that used to take 20 minutes now takes three hours. How do you find out why?What does git bisect do?