Asked about The tools: debugger, profiler, logs, bisect
What does git bisect do?
An answer that works
Binary search through commit history to find the one that introduced a problem. You mark a good and a bad commit, and git checks out midpoints for you to test, or runs a test script automatically.
Reading an answer is not being able to give one. The section that teaches this is The tools: debugger, profiler, logs, bisect, 4 hours of Debugging.
Learn this properlyAlso asked about Debugging
Walk me through how you debug something.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?