DEV Community

Cover image for S'Monday 😪🔪How Do You Debug? 🪲
Erin A Olinick for CodeNewbie

Posted on • Edited on

1 1

S'Monday 😪🔪How Do You Debug? 🪲

Today’s quote by Filipe Fortes perfectly captures the complexity and frustration of sussing out the bugs in your code and figuring our how to solve them by tracking down the root cause. It can be a difficult and time-consuming task with many twists and turns, but the feeling of satisfaction you get when you finally solve the problem is worth it.

Debugging is like being the detective in a crime movie where you are also the murderer.

Share your debugging stories and tips with us! How do you approach debugging, and what strategies have you found to be effective? Let's help each other become better detectives and murderers (of our own code, of course).

Top comments (1)

Collapse
 
__masashi__ profile image
Masashi •

Basically, I run the newly added code and maybe write tests for them. If they fail, i check the area where it failed and add print statements accordingly. Finally, after logging everything,, I solve the issue and commit the code.

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up