Put print string on ON / OFF. What do you get? A lot of spam?
I think you execute this ENTIRE thing in a single frame, no?