• Lembot_0004@discuss.onlinedeleted by creator
      link
      fedilink
      arrow-up
      16
      ·
      8 months ago

      And print statements can do things that are impossible for the debugger (quick example before you start rage: last program I wrote needed some information about short-lived processes that I know only pid about. If I would use a debugger, the OS would already delete all the data I need to analyze)

  • Frezik@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    7
    ·
    8 months ago

    Now try debugging on a microcontroller with none of that UART stuff Arduino gives you. Print statements? Ha, try debugging by blinking an LED.

    • TheAgeOfSuperboredom@lemmy.ca
      link
      fedilink
      arrow-up
      5
      ·
      8 months ago

      LED? Luxury! 😁

      I had one board with an improperly loaded power supply and I could tell what it was doing by the pattern and pitch of the squeal.

      It did have a debug UART though, but I did come to find the sound pretty useful too!