Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Print statements lets you see many things at once. Breakpoint only breaks at one thing. They are good for different things.


> Breakpoint only breaks at one thing.

One breakpoint breaks at one thing, that's why you can have many of them


But it only stops at one thing at once. With print debugging I can print 100 things in different places and look at all of them at once giving me a temporal overview, I can't do that in a debugger.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: