3 ms·
I see print debugging and breakpoint debugging as two different tools, both very useful. Print statements are useful when you don’t know where to put a breakpoi
by corytheboyd 6y ago
I see print debugging and breakpoint debugging as two different tools, both very useful. Print statements are useful when you don’t know where to put a breakpoint, of course, but also when it’s important to see the real-time execution along with the debug logs. Breakpoints are of course insanely helpful when you know where to put them, but also can be peppered about suspect areas and used with steps to cover wider ranges.
Just to give credit to both “sides” in the comments here, you’re all kind of right and it’s okay if people have different workflows than you.
- ehsankia 6y agoThis isn't even breakpoint debugging though, this library simply makes your print statements "easier" to write, at the cost of having to install and import a library.