News for hackers. Stuff that matters.
Re:Things you can do with a debugger but not with print debu... by yrand on Wednesday September 10, 2025 @02:44AM (#45194131)
Could you expand on what you meant? I'm curious.

Not related to OP, but debugging is often about finding where an invariant is broken, so it feels like using LLM to navigate a debugging loop may be useful as it's not a complicated but repetitive task. However in the morning I struggle to imagine how to do that.

Re:Things you can do with a debugger but not with print debu... by mrugge on Wednesday September 10, 2025 @07:50AM (#45196335)
I use claude code all day long to debug gnarly legacy code. Sometimes in languages I barely know. It works great especially as a second opinion or to get unstuck. It is very fun but can be addictive and exhausting.
Re:Things you can do with a debugger but not with print debu... by mrugge on Wednesday September 10, 2025 @07:52AM (#45196361)
More specifically I will stub out a simple unit test by hand to zoom in on where I think the issue is. It then turns into an exhilarating and wild ride from there.