halubilo.social
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to Programmer [email protected] • 2 years ago

6 stages of debugging

i.imgur.com

message-square
28
fedilink
441

6 stages of debugging

i.imgur.com

@[email protected] to Programmer [email protected] • 2 years ago
message-square
28
fedilink
  • DonjonMaister
    link
    fedilink
    18•2 years ago

    Stage 4.5: console.log() everything.

    • @[email protected]
      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

        • @[email protected]
          link
          fedilink
          1•2 years ago

          Good ol’ Heisenbugs.

    • @[email protected]
      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

    • @[email protected]
      link
      fedilink
      4•
      edit-2
      2 years ago

      Step 4.6: Get another drive for the logs.

    • @[email protected]
      link
      fedilink
      1•2 years ago

      “Oh…that’s why it’s not working”

Programmer [email protected]

[email protected]

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: [email protected]

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.
  • 181 users / day
  • 961 users / week
  • 3.04K users / month
  • 9.3K users / 6 months
  • 37K subscribers
  • 1.79K Posts
  • 38.1K Comments
  • Modlog
  • mods:
  • @[email protected]
  • @[email protected]
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org