Debugging with and without AI
For engineers
Reproduce, isolate, read traces and logs, and know when an AI assistant helps and when it misleads
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
A teammate reports: "The export fails sometimes." What is the best first step?
Check yourself · 2 of 5
About how many checks does it take to find one bad commit among 64 with git bisect?
Check yourself · 3 of 5
In a long stack trace, where do you usually start reading the frames?
Check yourself · 4 of 5
Which change is most likely a symptom patch?
Check yourself · 5 of 5
What is the best way to start a debugging chat with an AI assistant?
Topics
- Building a reliable minimal reproduction4 min read · Capturing inputs, environment and versions, shrinking the case, and turning the repro into a failing test
- Isolating faults by halving the search4 min read · Binary search over code, config, data and time, comparing a working and a broken environment, one change at a time
- Reading stack traces and log timelines5 min read · Finding the first relevant frame, reading async and wrapped errors, and lining up log lines by request id to see what failed first
- Fixing root causes, not symptoms5 min read · Asking why until the cause is found, adding the regression test, and rejecting fixes that swallow errors or add blind retries
- Hypotheses, evidence and misleading AI diagnoses5 min read · Giving an assistant evidence rather than guesses, asking for ranked hypotheses, and catching confident diagnoses the logs do not support
Start here
- Debugging and Profiling (MIT Missing Semester) (opens in a new tab)CourseFree
Print debugging, logging, debuggers and reading traces, taught with short exercises.
- A debugging manifesto (Julia Evans) (opens in a new tab)ArticleFree
A short list of habits: reproduce first, simplify, and test your assumptions.
- The Debugging Book (opens in a new tab)BookFree
Free book on tracing, reducing failing inputs and finding root causes automatically.
Scenarios
110 questions · last verified 2026-12