Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!spool.mu.edu!agate!ucbvax!hplabs!nsc!voder!apple!greggor From: greggor@Apple.COM (Greg L. Anderson) Newsgroups: comp.sys.mac.programmer Subject: Re: Permanent Break Points in Think C Message-ID: <54178@apple.Apple.COM> Date: 19 Jun 91 20:02:48 GMT References: <1991Jun19.145055.13153@hubcap.clemson.edu> Organization: Apple Computer Inc., Cupertino, CA Lines: 26 In article <1991Jun19.145055.13153@hubcap.clemson.edu> jcocon@hubcap.clemson.edu (james c oconnor) writes: >I remember someone telling how you could put a permanent break point >into think c code, I believe that it involved puting an asm{...} >statement into the code. You don't need to use asm{}: Debugger(); or DebugStr( "\pMessage" ); will do the trick. If you're not running with the THINK C debugger, the above lines will drop you into MacsBug. The THINK debugger distributed with 4.0.5 has trouble with Debugger() and DebugStr() calls if VM is on. -- ----------------- ---------------------- Greg Anderson User Programming Group () "Ponnuki greggor@apple.com Apple Computer, Inc. () () is ideal ----------------- ---------------------- () shape."