News for hackers. Stuff that matters.
Re:Print is your best debugging tool by Hamatti on Wednesday June 08, 2022 @09:02AM (#31666654)
In my experience, print statements should be the starting point because they offer a fast and easy solution and can help you first of all confirm that you're looking at the right part of the code.

One point when I switch from print to debugger is when I need to run the thing over and over again switching print statements on the way – at that point it makes sense to bring in a debugger tool, halt the execution and explore what's wrong.

There are no comments on this comment yet.