Path: utzoo!attcan!uunet!snorkelwacker!apple!well!smoke From: smoke@well.sf.ca.us (Nicholas Jackiw) Newsgroups: comp.sys.mac.programmer Subject: Re: detecting macsbug Message-ID: <20759@well.sf.ca.us> Date: 25 Sep 90 17:23:22 GMT References: <109400@tiger.oxy.edu> Organization: Whole Earth 'Lectronic Link, Sausalito, CA Lines: 14 In article <109400@tiger.oxy.edu> sonenbli@oxy.edu (Andrew D. Sonenblick) writes: >is there a cool way of detecting whether macsbug is installed? Can you just check if GetTrapAddress($A9FF)<>GetTrapAddress(UnImplTrapNum)? This will, of course, only tell you if -somebody- has installed a debugger, not necessarily whether -macsbug- has. ($A9FF is the _Debug trap.) Check out Tech Note #156 for info on GetTrapAddress and its bigger sibling, NGetTrapAddress. -- --- * --- Nicholas Jackiw Smoke@well.sf.ca.us | Jackiw@cs.swarthmore.edu Key Curriculum Press, Inc. Applelink: D3970 | (415) 548-2304 --- * ---