How you tackle a bug?

Suraj Vishwakarma - Aug 9 '21 - - Dev Community

Introduction

We all have encountered bugs either small or big. Sometimes it was quick and we solve the bug in few minutes but sometimes it even takes days for solving a particular bug.

BUG

So today, we are going to discuss "How we solve the bug?"

How I did?

I did following this when I encountered with bug:

  • First I tried all of my knowledge to solve the bug🧠
  • If it persists then I go to look on the web especially the savior Stack Overflow and documentation🌐
  • If it persists, mostly I take a break then I go for walk, listen to music, meet my friend, etc💆
  • After coming from break, most of the time I cracked the bug as I was able to see things that I was probably had missed during the coding👨‍💻
  • If it persists, mostly it won't, I call my other developer friends to have an eye on the bug😄

Discuss

  • What is your method of solving a bug?
. . . . . . . . . . . . . . . . . . . . . .