
Exceptions
InstallBreakpoint(codeBlock, programCounter);
codeBlock. When this function is run and execution reaches the bytecode offset specified by programCounter, a break loop is entered.
InstallBreakpoint returns a breakpoint specification, which can then be used to remove a breakpoint.
GetAllBreakpoints();
programCounter slot. That slot contains an array of breakpoint specifications.
RemoveBreakpoint(spec);
spec.
RemoveAllBreakpoints();
GloballyEnableBreakpoints(enable);
enable is true, this turns on breakpoint checking. It is the same as turning on "Enable breakpoints" in ns Debug Tools. A setting of nil for enable turns off breakpoint checking.
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996