Exceptions

Getting Functions


GetCurrentFunction(level);


This returns the code for the function at the specified stack level. You might use this routine to disassemble the code, or to install a breakpoint.


GetCurrentPC(level);


This returns the program counter within the function at the specified stack level. You can use this when disassembling your code to determine exactly where you are within a function.


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

Last modified: 1 DEC 1996