dormi.zone
  • Communities
  • Create Post
  • 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
27
fedilink
454

6 stages of debugging

i.imgur.com

@sellingspams@feddit.de to Programmer Humor@lemmy.ml • 2 years ago
message-square
27
fedilink
  • DonjonMaister
    link
    fedilink
    19•2 years ago

    Stage 4.5: console.log() everything.

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

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

      • V699
        link
        fedilink
        7•2 years ago

        Race conditions are the worst

        • @zqwzzle@lemmy.ca
          link
          fedilink
          1•2 years ago

          Good ol’ Heisenbugs.

      • sickmatter
        link
        fedilink
        1•2 years ago

        Especially if logging ends up spreading a global mutex around the log file.

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

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

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

      Step 4.6: Get another drive for the logs.

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.
  • 322 users / day
  • 483 users / week
  • 1.55K users / month
  • 10.1K users / 6 months
  • 35.5K subscribers
  • 1.7K Posts
  • 37.6K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @cat_programmer@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org