Systematic Debugging
When to Use
Use when tests fail, a program crashes, behavior is unexpected, a regression appears, or the user asks for root cause analysis before changing code.
Do Not Use When
Do not use for planned feature implementation with no bug, general PR workflow, or research paper verification.
Required Inputs
Error message, failing command, logs, reproduction steps, or suspected component.
Workflow
- Reproduce the failure consistently.
- Read the full error and inspect recent changes.
- Trace data flow to isolate the root cause.
- Add a regression test and implement one evidence-backed fix.