Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!ginosko!uunet!zephyr.ens.tek.com!tektronix!reed!chaffee From: chaffee@reed.UUCP (Alex Chaffee) Newsgroups: comp.sys.mac.programmer Subject: Re: Monitor trap Summary: Debugger() and DebugStr() drop you into the THINK debugger Message-ID: <13350@reed.UUCP> Date: 29 Sep 89 05:10:08 GMT References: <1363@majestix.ida.liu.se> <32890@srcsip.UUCP> Reply-To: chaffee@reed.UUCP (Alex Chaffee) Organization: Reed College, Portland OR Lines: 16 In C, the interrupt commands are Debugger() and DebugStr("\pOops..."). With the THINK Debugger active they stop the program and activate the debugger, but from there you can just press CMD-M to get into MacsBug. Note that pressing the rear programmer's switch will also drop you into Macsbug, but if you do this with the debugger active, you'll be debugging the debugger, hence CMD-M, which switches context before the interrupt. Alex Chaffee chaffee@reed.UUCP ___________________ -- Alex Chaffee chaffee@reed.UUCP ____________________