News for hackers. Stuff that matters.
Re: by worldsayshi on Wednesday December 21, 2022 @04:58PM (#34086922)
I try to use it like this sometimes but then I realise I now have two problems. I have to debug my own code and its code.
Re: by someguy101010 on Wednesday December 21, 2022 @05:06PM (#34087004)
it can usually debug itself if you give it an error message
Re: by czzr on Wednesday December 21, 2022 @05:09PM (#34087044)
Assuming the problem with the code causes an error message. That’s actually the easier case - the hard case is incorrect logic but syntactically ok.
Re: by naderkhalil on Wednesday December 21, 2022 @05:14PM (#34087106)
It's surprisingly good at helping figure out what went wrong. Try asking it "something went wrong and I'm not sure what. What should we try next?"