< .. > I'll read up on the debbuging program.
That will help a lot for future issues.
Just a tip : Animation can be fun, but setting a breakpoint and stepping is a little more productive. :
The watch window can be a big help too ...
and ..
As Stig indicated earlier, setting a breakpoint gives you access to the INSPECT tools so that you can check variable values without the need to add a lot of prompt or princ statements in a suspected buggy block of code.