Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
awesome_person@lemm.ee to Programmer Humor@lemmy.ml ·
edit-2
2 years ago

thought you stood a chance?

sopuli.xyz

message-square
111
fedilink
1.92K

thought you stood a chance?

sopuli.xyz

awesome_person@lemm.ee to Programmer Humor@lemmy.ml ·
edit-2
2 years ago
message-square
111
fedilink
  • ghariksforge@lemmy.world
    link
    fedilink
    arrow-up
    50
    ·
    2 years ago

    I believe in a conspiracy theory that nobody uses debuggers.

    • HairHeel@programming.dev
      link
      fedilink
      English
      arrow-up
      26
      ·
      2 years ago

      console.log counts as “a debugger”, right?

      • marlowe221@lemmy.world
        link
        fedilink
        English
        arrow-up
        10
        ·
        2 years ago

        It does for me!

      • erogenouswarzone@lemmy.ml
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 years ago

        Yes, but only because it gives you a link to where that was run. Click the link to the right with filename:lineNumber, and it will open the sources tab to that line. Set a breakpoint and rerun to pause there, then step through the code’s execution.

        Of course, if you’re using minified or processed code, this will be more difficult, in that case figure out how to do it in VS Code.

    • AeroSoap@lemm.ee
      link
      fedilink
      arrow-up
      26
      ·
      edit-2
      2 years ago

      deleted by creator

      • pm_me_your_happiness
        link
        fedilink
        arrow-up
        17
        ·
        2 years ago

        I work with 20 year old legacy spaghetti code, the debugger has become one of my most treasured tools.

        • Hazzia@discuss.tchncs.de
          link
          fedilink
          arrow-up
          4
          ·
          edit-2
          11 months ago

          deleted by creator

      • croobat@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        2 years ago

        Grep log will outlive us all

    • AlexWIWA@lemmy.ml
      link
      fedilink
      arrow-up
      10
      ·
      2 years ago

      I use them daily. It makes it so much easier to work with an existing code base

      • erogenouswarzone@lemmy.ml
        link
        fedilink
        arrow-up
        5
        ·
        2 years ago

        Yep. Once you get the hang of it, you will cringe to think of all the wasted effort that came before. But getting the hang of it takes dedication.

        • AlexWIWA@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          Thankfully I use python mostly and pycharm makes it easy-ish to get the debugger hooked up to a project. But learning that process definitely took a few days

    • theherk@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      After decades of print debugging I finally got dap up and running in vim. It is very nice. Would recommend.

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      Does this include C programmers? I’ve definitely found GDB to be indispensable in the past (or maybe that’s what they would want you to think).

    • Rikudou_Sage@lemmings.world
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      I can record a video tomorrow if it helps?

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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: !programmerhumor@lemmy.ml

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.
Visibility: Public
globe

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

  • 1K users / day
  • 1.64K users / week
  • 3.74K users / month
  • 9.84K users / 6 months
  • 441 local subscribers
  • 36.3K subscribers
  • 1.76K Posts
  • 37.9K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org