read the transcript!
If I have a bug with how I’m using a library, I like to:
- find a code example in the documentation
- make sure it works
- slowly change it to be more like my broken code
- test if it’s still working after every single tiny change
Illustration showing a bunch of points with arrows between them. Each point has a check mark beside it, until one that is labelled “Oh THAT’S what broke it!!!”
This puts me back on solid ground: with every change I make that DOESN’T cause the bug to come back, I know that change wasn’t the problem.