Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!dogie.macc.wisc.edu!vms.macc.wisc.edu From: yahnke@vms.macc.wisc.edu (Ross Yahnke, MACC) Newsgroups: comp.sys.mac.programmer Subject: Re: Monitor trap Message-ID: <2481@dogie.macc.wisc.edu> Date: 28 Sep 89 13:36:04 GMT Sender: news@dogie.macc.wisc.edu Organization: University of Wisconsin Academic Computing Center Lines: 25 In article <32890@srcsip.UUCP>, mnkonar@manyjars.SRC.Honeywell.COM (Murat N. Konar) writes... {In article <1363@majestix.ida.liu.se> andwi@majestix.ida.liu.se (Andreas Wickberg) writes: {>.........I've tried to find a way of calling the monitor (eg. {>Macsbug) from the program to do the debugging from there, but without {>luck. THINK can do this (cmd-M when debuggin), but how? { {There are two calls which should be callable from C. { {In Pascal they are: ^^^^^^ Hey babe, he wants C not Pascal! {procedure debugger; {{simply drops you into the debugger} In C this is: Debugger(); {procedure debugStr(theStr:str255); {{drops you into the debugger and displays a string} {{there. Very, very handy.} In C this is: DebugStr("\pYour String Here"); >>> Internet: yahnke@macc.wisc.edu <<< >>> Mille voix chuchottent <> <<<