[fa.info-mac] How to get back out of the debugger?

info-mac@uw-beaver (info-mac) (07/11/84)

From: Peterr%toronto.csnet@csnet-relay.arpa
I was playing with MS-BASIC on a Lisa running MacWorks and popped up the
calculator.  It appeared, and then I was immediately deposited into the
machine-level monitor; it printed a dump of the registers, etc.  I haven't
tried to replicate the bug-- I'll do that later-- but I wonder if there's
a PC value that one can restart the machine at (via the "g" command) to
reboot.  Having to unplug the machine and power it up again is not only
a pain (one has to reset the clock, for example (Lisa has no battery)) but
makes me uneasy.

Any hints will be gratefully accepted... thanks, p. rowley, U. Toronto

info-mac@uw-beaver (info-mac) (07/11/84)

From: Ralph W. Hyre Jr. <RALPHW@MIT-XX.ARPA>
If you've ever used the Pascal Workshop, you will find that the '-' key on the 
numeric keypad is still bound to the NMI key (which immediately takes you into
the debugger. The Office System software doesn't rebind it. Rebooting the
machine rebinds it, but exiting the Workshop to the environments window and
going to the Office System doesn't.  Macworks may do something similar as far
as key bindings.  Anyway, if you entered you entering the debugger by pressing
the NMI key, you should be able to reenter the system by simply entering 'g' 
with no value.
					- Ralph Hyre
-------

info-mac@uw-beaver (info-mac) (07/11/84)

From: ERice@HIS-PHOENIX-MULTICS.ARPA
As Ralph noted, and also...

There is a debugger command, UBR (User BReak) which sometimes will pop you
nicely back, and also breaks out of infinite loops in programs which do not
honor interrupts directly.

Short of powering down (and we all like to avoid that), there is an interrupt
button on the back of the Lisa, it's next to the "video out" plug, and will zap
the Lisa even when it's ignoring the power-off button.

Edward Rice