federate.cc
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@sellingspams@feddit.de to Programmer Humor@lemmy.ml • 2 years ago

6 stages of debugging

i.imgur.com

message-square
18
fedilink
108

6 stages of debugging

i.imgur.com

@sellingspams@feddit.de to Programmer Humor@lemmy.ml • 2 years ago
message-square
18
fedilink
alert-triangle
You must log in or register to comment.
  • 𝘋𝘪𝘳𝘬
    link
    fedilink
    5•2 years ago

    console.log("Does it happen here?")

  • DonjonMaister
    link
    fedilink
    5•2 years ago

    Stage 4.5: console.log() everything.

    • @zqwzzle@lemmy.ca
      link
      fedilink
      English
      3•2 years ago

      And then the logging fixes the subtle timing issue causing the problem.

      • V699
        link
        fedilink
        2•2 years ago

        Race conditions are the worst

    • @0x4E4F@sh.itjust.works
      link
      fedilink
      1•
      edit-2
      2 years ago

      Step 4.6: Get another drive for the logs.

    • @danc4498@lemmy.world
      link
      fedilink
      1•2 years ago

      We have logging software built in, but I can never remember how to turn it on, so I just console.log

  • @axtualdave@lemmy.world
    link
    fedilink
    2•2 years ago

    Everyone always skips the last step, but that’s where you learn.

  • z500
    link
    fedilink
    2•2 years ago

    Every time that last part happens I have to check the proper spelling of Berenstain. I’ve had some that really seem like they should have been impossible lol

  • @egeres@lemmy.world
    link
    fedilink
    2•
    edit-2
    2 years ago

    Stage 7: Who wrote this?

    Stage 8: Ah ok… it was me

  • @dan1101@lemmy.world
    link
    fedilink
    1•2 years ago

    How did that ever work, I’ve been there many times.

  • kriss0706
    link
    fedilink
    1•2 years ago

    its funny i see this now, after spending 3 hours debugging D:

  • silly . lil . jester
    link
    fedilink
    1•2 years ago

    6 stages of dev grief when I find a bug which doesn’t make sense and report it to the devs. Lol.

  • Rhaedas
    link
    fedilink
    1•2 years ago

    I have some Excel VBA scripting that I’ve been on 1-4 for a while now, so there’s a branch off of 4 that should be “fuck it, here’s the workaround” or “that part isn’t that important anyway, ignore it”.

    (it’s actually not Excel that’s the problem, it’s the change to its call to IE that throws up a stupid security warning.)

    • @chaorace@lemmy.sdf.org
      link
      fedilink
      1•2 years ago

      Oh my god this comment gave me an aneurysm

  • @fubo@lemmy.world
    link
    fedilink
    1•2 years ago

    “I notice that I am confused, and thus that one of my beliefs is fiction.”

  • RandomBit
    link
    fedilink
    0•2 years ago

    One of the best pieces of advice I have ever gotten was to build diagnostics first. The time it takes to do will pay for itself 100X over the course of development.

    • @Celivalg@iusearchlinux.fyi
      link
      fedilink
      2•2 years ago

      100% unit tests ftw

      Hate making them, love them when they are here

Programmer Humor@lemmy.ml

!programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 205 users / day
  • 1.01K users / week
  • 3.17K users / month
  • 9.52K users / 6 months
  • 37K subscribers
  • 1.78K Posts
  • 35.6K Comments
  • Modlog
  • mods:
  • @cat_programmer@lemmy.ml
  • @AgreeableLandscape@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org