I’ve used a regex to add a console log to the top of every method with the method name before.
the things you do when you’re desperate.
Comment on Hello from the other side
sebi@lemmy.world 1 year ago
This is a professional debug techique, what are you talking about? But I rather use ‘Hii’ with various (but not ascending) amounts of i’s.
I’ve used a regex to add a console log to the top of every method with the method name before.
the things you do when you’re desperate.
andrew@lemmy.stuart.fun 1 year ago
Sometimes I use various swears. Depends on how long I’ve had to debug. Also depends on whose work I’m debugging and whether they’re in earshot.
alphacyberranger@lemmy.world 1 year ago
Been there, done that