level 2Bugs & Debugging
Debugging
also: debug, debugged, debugger
The whole process of finding out why something is broken and then fixing it.
a bit more technical
The investigative process of locating, understanding, and correcting a defect: reproducing it, gathering evidence from errors, logs, and traces, forming and testing hypotheses about the cause, applying a fix, and verifying that it works.
picture it
Detective work. Collect clues, form a theory, test it, rule out suspects, and only then make an arrest.
why it matters
Good debugging with an agent is a loop: evidence, theory, test, repeat. If you skip straight to "just fix it", you often get guesses dressed up as fixes.
what your agent might say
I'm debugging the missing notifications. My theory is that permission is never granted on iOS. I'll add logging around the permission check to confirm before changing anything.
how you might use it
Let's debug this step by step. First reproduce the problem, then tell me your top three possible causes and how you'd rule each one out.
common mistake
Thinking debugging means changing things until the problem goes away. Real debugging means understanding the cause first, so the fix is deliberate.
builds on