Minimal repros are a fundamental tool when debugging.

What is a minimal repro?

  1. It is minimal. It contains the least amount of details to be sufficient. Anything that can be removed, is removed.
  2. It reliably reproduces the issue. "If you follow these steps exactly, you too will see the issue."

Why make a minimal repro?

🪞 For Yourself

First-and-foremost, you make repros for you.

Debugging is isolating. You cannot address what you cannot isolate. How can you fix a bug if you don’t know where it is?

If a bug is fixed in a forest without a repro, is it even fixed?

How would you know if you even fixed it? This point is profound, so let me spell it out for you:

  1. You have a bug
  2. You don’t first establish a repro.
  3. You try to fix the bug.

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help