5 stages of debugging | Raygun Blog (2024)

By Jordan C | Posted Sep 4, 2015| 5 min. (857 words)

1. Denial

a) “It works on my computer – you must be doing something wrong” – this is the classic attempt at trying to remove the blame from yourself and put it onto someone or something else, be that a co-worker working on the same branch or the internet thatmust have dropped its connection right when your code tried to access it. It’sa basic survival reaction that serves to preserve our sense of self and self-belief. As long as you don’t overreact or draw out this process it’s perfectly fine to go through.

b) “Oh look, another project I forgot that I needed to work on” – otherwise referred to as productive procrastination. As tempting as it is to work on another project that you are almost guaranteed to succeed at, you run the risk of either having this distraction project break as well (in which case you have two broken projects)or the previous broken project goes stale, you loose the mindset you were in at the time of coding and all of the code you wrote becomes dormant and that much harder to sink back into and consequently fix.

c) “Oh look…cat!” – this is justunproductive procrastination that is far too easy to fall into on the internet. While some may not think of this as direct denial, and they would be right, indirect denial can be just as bad if not worse, because you may not be consciously aware that you’re in denial – in your brain you’re just taking a 5 hour break to look at cats that leap in time to dubstep.

d) “Time to pursue my life long dream of being a woodland ranger” –this is just **full on avoidance**and should probably be stopped in it’s [hiking] tracks.

2. Anger

Ever had that feeling of utter rage that you just want toflip the desk and walk out? This massive urge to hulk out is not uncommon among developers – especially when it comes to debugging.

You’re too angry to be sad that your project isn’t working and what’s worse is that you probably have no one but yourself to blame. Whether it was past you being a lazy hacker or presentyou just not having the knowledge base to know how to approach the situation – experience being what you get after you most needed it and all…

Personally, I recommend letting the anger release in some shape or form – ideally not by raging at your work mates but perhaps a lunchtime martial arts class? Afterwhich your body may be so shaky that you literally have no energy to be angry anymore.

3. Bargaining

Here, you begin to reason with yourself – maybe you decide that no one will encounter the bug when you push it live and that’s the end of that – only future you has to deal with those repercussions by which time of course you’ll have the knowledge to deal with it (bad juju).

We’ve all had those conversations with ourselves of “just how necessary is [x] feature?” or “how much of my code can I strip back so that the error is gone but the functionality is still there?”

I must confess I don’t have any recommendations as to how to deal with this stage – just recognise that it is a phase and make sure you have a backup of the current project just in case you do start acting on these irrational bargainingconversations.

4. Depression

At this point, you start second-guessingevery aspect that can be second guessed. Why didn’t you foresee this being an issue when youwereoriginally coding? Why did you even start on this project?Why didn’t you wear your world-conquering Batman tee that could have prevented this whole fiascofrom being so deflating?

This also isn’t helped by the waterfall nature of debugging, where what seems to be oneerror (big or small) is actually caused by a sequence of other hidden errors that constantly deflate your debugging efforts.

You’re also dealing with the emotional drain of your creative project not working how it does in your head. This is quite a blow – you don’t know if it’s a fault in your skill or what, you just know that something that you’ve been pouring all your efforts is just ungratefully flipping you off and that’s hard to handle.

Recommendation? And no I’m not proposing a cure to all depression, just debugging depression…Step away from the project and take a minute (or several) to change your mental state, maybe play some video games (if you’re desperate to stay computer bound) orplay with some puppies.

5. Acceptance

After a long journey through all sorts of emotional turmoil, you come to the final stage.

It is onlyonce you have reached this final stage that you can truly acknowledge that yes, this error is being a pain, and yes you will probably find a great deal more logic flaws or errors once you’ve fixed the current one.

But you know what?You are going to debug the hell out of it.

5 stages of debugging | Raygun Blog (2024)
Top Articles
Expediting a Refund
What are the best techniques for identifying and recovering deleted files in computer forensics?
Craigslist St. Paul
Koopa Wrapper 1 Point 0
Don Wallence Auto Sales Vehicles
Jonathan Freeman : "Double homicide in Rowan County leads to arrest" - Bgrnd Search
Craigslist Estate Sales Tucson
World Cup Soccer Wiki
Erin Kate Dolan Twitter
Slushy Beer Strain
Bernie Platt, former Cherry Hill mayor and funeral home magnate, has died at 90
All Buttons In Blox Fruits
Procore Championship 2024 - PGA TOUR Golf Leaderboard | ESPN
boohoo group plc Stock (BOO) - Quote London S.E.- MarketScreener
Roof Top Snipers Unblocked
Hanger Clinic/Billpay
No Hard Feelings - Stream: Jetzt Film online anschauen
Persona 5 Royal Fusion Calculator (Fusion list with guide)
Ezel Detailing
How Long After Dayquil Can I Take Benadryl
Naya Padkar Gujarati News Paper
Publix Near 12401 International Drive
Intel K vs KF vs F CPUs: What's the Difference?
Pronóstico del tiempo de 10 días para San Josecito, Provincia de San José, Costa Rica - The Weather Channel | weather.com
Superhot Free Online Game Unblocked
Die wichtigsten E-Nummern
R3Vlimited Forum
M3Gan Showtimes Near Cinemark North Hills And Xd
Junee Warehouse | Imamother
Boggle BrainBusters: Find 7 States | BOOMER Magazine
Myfxbook Historical Data
Craigslist Summersville West Virginia
A Comprehensive 360 Training Review (2021) — How Good Is It?
Cnp Tx Venmo
Weather Underground Cedar Rapids
Hovia reveals top 4 feel-good wallpaper trends for 2024
R: Getting Help with R
The Nikki Catsouras death - HERE the incredible photos | Horror Galore
Chr Pop Pulse
How To Get To Ultra Space Pixelmon
Rescare Training Online
Wpne Tv Schedule
Lesly Center Tiraj Rapid
Dicks Mear Me
Bank Of America Appointments Near Me
Service Changes and Self-Service Options
Karen Kripas Obituary
Scholar Dollar Nmsu
Craigslist Farm And Garden Missoula
Latest Posts
Article information

Author: Jerrold Considine

Last Updated:

Views: 6634

Rating: 4.8 / 5 (58 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Jerrold Considine

Birthday: 1993-11-03

Address: Suite 447 3463 Marybelle Circles, New Marlin, AL 20765

Phone: +5816749283868

Job: Sales Executive

Hobby: Air sports, Sand art, Electronics, LARPing, Baseball, Book restoration, Puzzles

Introduction: My name is Jerrold Considine, I am a combative, cheerful, encouraging, happy, enthusiastic, funny, kind person who loves writing and wants to share my knowledge and understanding with you.