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

Programming

13376 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 2 years 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
[โ€“] [email protected] 2 points 1 year ago (1 children)

That's an interesting point about depending too heavily on a debugger. I haven't run into anyone too dependent on it, but I could see that happening.

To me, debuggers offer a tighter dev loop when there's something you're stuck on. They also let you 'grok' a call stack in an unfamiliar codebase. "Did this function get called?" "What's in this variable?" etc.

[โ€“] [email protected] 1 points 1 year ago* (last edited 1 year ago)

That I agree, I always see it as a critical necessity to always document everything when more than 1 developer work on the project. It like making a trade:

Spend time and effort debugging

Or

Spend time documenting and maintain it with the help of Chatgpt

With ChatGPT, it seems to reduce cost for documenting while same can't be said for debugging.