DEV Community

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

luispcosta profile image
Luís Costa

I usually try not to jump into coding right away. I open a new note on Evernote and I write down everything I know and/or figure out about that particular bug. I reproduce it and write down the steps I did to reproduce the bug. Then I start to brainstorm what might be the cause. This envolves looking at the code and/or debugging. Then I think about a possible solution, and work my way up from there.