cyberneticlibrary

Reproduce and fix elusive bugs

debugging-testingskillsetup L164
Tibsfox/gsd-skill-creator
What it does

Diagnose bugs using scientific method and testing

Best for

Finding production bugs and preventing them via systematic testing rather than trial-and-error

Inputs
  • · buggy code
  • · symptom description
  • · reproduction steps
Outputs
  • · hypothesis list
  • · test plan
  • · bug location
  • · fix validation
Preconditions
  • · code is executable
  • · bug can be reproduced
Failure modes
  • · Heisenbug masked by debugging tool
  • · infinite hypothesis spiral
Trust signals
  • · Cites Grace Hopper
  • · Covers printf/GDB/binary search/rubber duck/time-travel debugging
  • · Distinguishes false positives from real fixes