• sebi@lemmy.world
    link
    fedilink
    arrow-up
    19
    ·
    1 year ago

    This is a professional debug techique, what are you talking about? But I rather use ‘Hii’ with various (but not ascending) amounts of i’s.

    • andrew@lemmy.stuart.fun
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      1 year ago

      Sometimes I use various swears. Depends on how long I’ve had to debug. Also depends on whose work I’m debugging and whether they’re in earshot. Usually it’s just my own sketchy code though.

    • dbilitated@aussie.zone
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I’ve used a regex to add a console log to the top of every method with the method name before.

      the things you do when you’re desperate.