Skip to content
mentoor

Debugging with AI

For engineers

Reproduce first, feed real evidence, test one hypothesis at a time and take back control when the agent loops

See where you stand

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

An agent is asked to fix a bug from a one-line report. What should you ask for first?

Choose one answer

Check yourself · 2 of 5

Which input gives an agent the best chance of finding a crash?

Choose one answer

Check yourself · 3 of 5

An agent suggests adding a null check, raising a timeout and wrapping the call in try/catch for one bug. What is the problem?

Choose one answer

Check yourself · 4 of 5

What does git bisect run ./check.sh do?

Choose one answer

Check yourself · 5 of 5

An agent has failed to fix the same bug three times and keeps proposing new edits. Best move?

Choose one answer

Topics

  1. Reproducing the bug before the fix4 min read · Getting a failing test or script that shows the bug, so the agent has a clear target and proof of the fix
  2. Feeding the agent real evidence4 min read · Full stack traces, logs, the diff that introduced the bug, environment details and exact steps instead of paraphrases
  3. Testing one bug hypothesis at a time4 min read · Ranking likely causes, testing the cheapest with a probe or log line, and refusing shotgun edits
  4. Bisecting regressions with an agent4 min read · Using git bisect with a scripted pass or fail check so the agent finds the commit that introduced the bug
  5. Taking back control from a stuck agent4 min read · Spotting guess loops, symptom patches and disabled tests, then resetting with a fresh session and a narrower task

Start here

110 questions · last verified 2026-12