Hacker News new | ask | show | jobs
by heavenlyblue 2788 days ago
Yep. They call it “tracing” in debugging and a good debugger will be able to directly catch and log the values of any variable at a particular line of code.

By using logging instead you’re reimplementing years of good work done by engineers before you.