You are viewing a single thread.
View all comments View context
48 points

I believe in a conspiracy theory that nobody uses debuggers.

permalink
report
parent
reply
26 points

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

permalink
report
parent
reply
10 points

It does for me!

permalink
report
parent
reply
3 points

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.

permalink
report
parent
reply
26 points
*
Deleted by creator
permalink
report
parent
reply
17 points

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

permalink
report
parent
reply
4 points
*
Deleted by creator
permalink
report
parent
reply
7 points

Grep log will outlive us all

permalink
report
parent
reply
10 points

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

permalink
report
parent
reply
5 points

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.

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
3 points

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

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply
2 points

I can record a video tomorrow if it helps?

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

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.

Community stats

  • 5.7K

    Monthly active users

  • 1.5K

    Posts

  • 34K

    Comments