Development
//Intermediate
Systematic Debugging
Finds the root cause of bugs before changing code: reproduce reliably, gather evidence from logs and state, form one falsifiable hypothesis at a time, prove it, then fix with a regression test. Use when something is broken, a test fails, an error or stack trace appears, behaviour is intermittent, or a previous fix didn't work.
Preview
# Systematic Debugging Stop guess-and-patch. Reproduce the failure, collect evidence, test one hypothesis at a time, and only fix what you have proven. Every bug ends with a test that would have caught it. ## When to use - An error, exception, failing test
Related skills