Upvote!
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
awesome_person@lemm.ee to Programmer Humor@lemmy.ml ·
edit-2
2 年前

thought you stood a chance?

sopuli.xyz

message-square
108
fedilink
1.9K

thought you stood a chance?

sopuli.xyz

awesome_person@lemm.ee to Programmer Humor@lemmy.ml ·
edit-2
2 年前
message-square
108
fedilink
  • ghariksforge@lemmy.world
    link
    fedilink
    arrow-up
    49
    arrow-down
    3
    ·
    2 年前

    I believe in a conspiracy theory that nobody uses debuggers.

    • HairHeel@programming.dev
      link
      fedilink
      English
      arrow-up
      26
      ·
      2 年前

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

      • marlowe221@lemmy.world
        link
        fedilink
        English
        arrow-up
        10
        ·
        2 年前

        It does for me!

      • erogenouswarzone@lemmy.ml
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        2 年前

        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 年前

      deleted by creator

      • pm_me_your_happiness@lemmy.one
        link
        fedilink
        arrow-up
        17
        ·
        2 年前

        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
          1 年前

          deleted by creator

      • croobat@lemmy.world
        link
        fedilink
        arrow-up
        8
        arrow-down
        1
        ·
        2 年前

        Grep log will outlive us all

    • AlexWIWA@lemmy.ml
      link
      fedilink
      arrow-up
      9
      ·
      2 年前

      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 年前

        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 年前

          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
      arrow-down
      1
      ·
      2 年前

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

    • Rikudou_Sage@lemmings.world
      link
      fedilink
      arrow-up
      2
      ·
      2 年前

      I can record a video tomorrow if it helps?

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      2
      ·
      2 年前

      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).

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.

  • 15 users / day
  • 504 users / week
  • 2.17K users / month
  • 7.79K users / 6 months
  • 1 local subscriber
  • 38.8K subscribers
  • 1.89K Posts
  • 39.7K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.6
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org