Exceptions

Showing a Stack Trace

Normally, upon entering a break loop the name of the current function will be printed. Often, you'll want to know the sequence of functions leading up to that function. The StackTrace() global function prints out the stack of functions in progress and contains the particular function in which the exception was thrown. The easiest way to execute this function is to click the "Stack Trace" button in the Inspector window.

Example

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

Last modified: 1 DEC 1996