• sebi@lemmy.world
    link
    fedilink
    arrow-up
    21
    ·
    10 months 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.

    • andrewA
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      10 months 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
      ·
      10 months 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.