this post was submitted on 22 Jun 2023
20 points (100.0% liked)

Programming

13345 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
 

I know profilers and debuggers are a boon for productivity, but anecdotally I've found they're seldom used. How often do you use debuggers/profilers in your work? What's preventing you? conversely, what enables you to use them?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Frederic@beehaw.org 3 points 1 year ago (1 children)

Really often, even since TurboDebuger in the 90s, no other way to trace your code, step over/into, watch variables, etc. For compiled program it's necessary. For javascript I use print lol

[โ€“] drwho@beehaw.org 2 points 1 year ago

Don't forget being able to watch the stack in realtime, and run your code backwards to roll back its state!