Debugging Dojo · Go

Observe. Hypothesize. Fix — slices, maps, and Go idioms.

Progressive Go debugging: off-by-one loops, control-flow chains, map zero-value traps, nil-slice append, integer division, UTF-8 strings, slice aliasing, defer scoping, and deep-copy footguns.

Intermediate10 lessons~5.5h
First lesson free

Try lesson 1 without an account. Sign in to unlock the remaining 9 lessons and save progress.

Course content

1 · Mindset

  • The Loop That Stopped EarlyFree12 min
  • 🔒The Else That Lied15 min
  • 🔒Missing Key Looks Like Zero18 min
  • 🔒Nil Slice Guard Blocks Append15 min

2 · Sharp edges

  • 🔒Integer Division Truncates15 min
  • 🔒len Is Bytes, Not Letters20 min
  • 🔒Last Character Is Not One Byte18 min
  • 🔒Append That Overwrote Its Parent25 min
  • 🔒defer Runs at Return, Not Per Lap22 min

3 · Boss

  • 🔒Fake Clone Shares Memory25 min