The following debugging functions are available to driver writers.
void SysDebug (void);
void SysDebugStr (StringPtr str);
SysDebug lets you enter the system debugger. SysDebugStr lets you enter the system debugger and display the Pascal string pointed to by str.
The debugging routines may be called from task level, software interrupt level, or hardware interrupt level.