Jamesj999 Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@piefed.world to Programming@programming.devEnglish · 2 months ago

Debugging Vs Printing

hackaday.com

external-link
message-square
8
fedilink
30
external-link

Debugging Vs Printing

hackaday.com

cm0002@piefed.world to Programming@programming.devEnglish · 2 months ago
message-square
8
fedilink
We’ll admit it. We have access to great debugging tools and, yes, sometimes they are invaluable. But most of the time, we’ll just throw a few print statements in whatever program weR…
  • atzanteol@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    30
    ·
    edit-2
    2 months ago

    The entire article: You can do things with a debugger that you can’t do with print statements.

    • Lembot_0004@discuss.online
      link
      fedilink
      arrow-up
      17
      ·
      edit-2
      19 days ago

      deleted by creator

      • Valmond@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        2 months ago

        Yeah, multi threadin/multi processing is a bitch to debug sometimes and prints/logs can really help.

      • wildbus8979@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        Wrap the launching of that process with the debugger, problem solved.

        • Lembot_0004@discuss.online
          link
          fedilink
          arrow-up
          7
          ·
          edit-2
          19 days ago

          deleted by creator

          • wildbus8979@sh.itjust.works
            link
            fedilink
            arrow-up
            1
            ·
            2 months ago

            If it has an unstable pid, then you aren’t debugging the kernel.

Programming@programming.dev

programming@programming.dev

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: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 125 users / day
  • 851 users / week
  • 2.91K users / month
  • 8.13K users / 6 months
  • 1 local subscriber
  • 23.5K subscribers
  • 2.62K Posts
  • 39.8K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • MaungaHikoi@lemmy.nz
  • UlrikHD@programming.dev
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org