The Debugging Process

Print Is Your Friend

If you have a complex function and you don't know where the error occurred, use some Print statements. If you sprinkle Print statements throughout the function, then you will know exactly where you choked--after the last Print that executed and before any of the others.


An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.

Last modified: 1 DEC 1996