• Crow@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Ten years into casual programming and I still don’t know how to use a debugger.

    • Atiran@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      It’s easy, you just step, step, step, step in, or wait, over, or, oops.

        • erogenouswarzone@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year 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.

    • Duckef@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      What I want to know is who taught the original Indian YouTube tutor. Was he born with the knowledge?

  • randint@feddit.nl
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    You really just threw “generic Chinese name” into some translator didn’t you lol

  • bagfatnick@kulupu.duckdns.org
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I can really emphasise with Samir. Working in healthcare I’m basically limited to just the Office applications. However in the past few years I’ve been able to cook up solutions by reading / writing to file based databases, and using VBA to generate and bind to HTML contents on the fly for the built in IE11 instance. It’s as close to getting to some kind of web-stack within the confines of IT Sec in healthcare.

      • catshit_dogfart@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Heck I remember when you had to read “bleep bloops”. POST codes came in beeps, and that’s how you knew why the computer wouldn’t start.

        Sometimes I miss em, wish it gave those in addition to the modern indicators. Then I could just tell without even looking.

          • dan@upvote.au
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            Some motherboards have a tiny piezoelectric speaker soldered on, which replaced the larger speakers that used to be used. It’s becoming less and less common though.

  • dan@upvote.au
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I’ve been coding for a long time, and I think I’ve worked with all these archetypes. Too real.