DEV Community

Discussion on: What do you do when you encounter a hard to fix bug?

Collapse
 
ben profile image
Ben Halpern

Systematically touch the code until I see changes that give me more information about the bug. Often that means deleting code in chunks and re-running the program to see if I got the result I was looking for.

It can be a bit like a word search puzzle. Sure the fastest way would be to randomly scan the content, but the most consistent way is to go column-by-column until you find the trigger letters that can help you find the rest.