Re:How to debug small programs
by mopedDreams on Friday March 07, 2014 @07:32AM
(#7359837)
Print("If you're reading this, that means the program got to this point!")
[ Parent
| on HN ]
Yep. This can be very useful. You could even print out the values of variables at certain points. It become less useful though as the output of the program increases, or as your program becomes more complex. that's when the things mentioned in the OP are helpful.