Systematic Debugging

Use when facing a bug, failing test, regression, or unexpected behavior.

Iron Rule

Do not propose fixes until you have a root-cause hypothesis backed by evidence.

4 Phases

1) Investigate

2) Compare

3) Hypothesize

4) Fix + Verify

Rules

Completion Criteria

You can explain:

  1. what broke,
  2. why it broke,
  3. what changed to fix root cause,
  4. which commands now pass.