Just realized printing my variables at every step got me past a 3 hour bug
I spent all of Tuesday night fighting a loop that kept giving me the wrong total and I almost rewrote the whole thing. Dropping a print statement inside the loop showed me the counter was resetting every pass, so has anyone else found simple print debugging beats staring at the code?