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?

deleted by creator

thekernel
link
fedilink
21Y

Uh, what? How do people do stuff without debuggers? :D

printf.

@pinkpatrol@anarch.is
creator
link
fedilink
71Y

How do people do stuff without debuggers? :D

Another way to develop would be through iterating within a Unit Test that you don’t plan to keep around.

Uh, I set a breakpoint and run the app?

To add a bit more context, it’s more difficult to configure a debugger when the application is running within something like Docker. How difficult? That depends on the language and tools you’re using.

@Nicktar@beehaw.org
link
fedilink
6
edit-2
1Y

I’ve seen the fun of “prints everywhere” in production when a colleague forgot to remove a “Why the fuck do you end up here?” followed by a bunch of variables before committing a hot-fix… Customers weren’t to amused…

Edit: That was a PHP driven web shop and the message ended up on to of the checkout page

That must’ve prompted a bit of existential crisis in some shoppers. I can see going to purchase some useless consumer shit online and getting a message “Why the fuck do you end up here?” and just closing my browser and rethinking my life decisions.

deleted by creator

We run almost everything on bare metal during development. The ci/cd pipeline runs containerized and also produces a container with the application inside, that then gets deployed to production. But we don’t debug on production, so that isn’t an issue.

Create a post

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.

  • 1 user online
  • 1 user / day
  • 2 users / week
  • 8 users / month
  • 88 users / 6 months
  • 1 subscriber
  • 303 Posts
  • 2.15K Comments
  • Modlog