Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!dlyons From: dlyons@Apple.COM (David Lyons) Newsgroups: comp.sys.apple Subject: Re: GSBug Questions Message-ID: <33312@apple.Apple.COM> Date: 20 Jul 89 04:07:37 GMT Organization: Apple Computer Inc, Cupertino, CA Lines: 30 From article <36410002@hpindwa.HP.COM>, by tribby@hpindwa.HP.COM (David Tribby): > Several comp.sys.apple readers were helpful the last time I had a GSBug > question, so here are a couple more... > > 1. Is there any way to set a "real time" breakpoint for a toolset call? > Since I do most of my programming in TML Pascal, I would like to set > a breakpoint on a particular toolset call, then let the program run > in real time until the invocation. Yes! The version APDA has (4.0b1) has SETTBRK, TBRKIN, and TBRKOUT (among other things). Note that 4.0b1 only breaks on $E10000 calls, not on the $E10004 entry to the same calls. (Some compilers generate lots of calls to the $E10004 tool dispatcher, which expects an extra RTL address to already be on the stack.) Tool breaks come in very handy, at least for me. > 2. Does the "init" version of GSBug interfere with the "run time" version? Yes, at least sometimes. Hold down Option during boot to keep the init from loading (or delete the file, or mark it Inactive in the Finder). --Dave Lyons, Apple Computer, Inc. | DAL Systems AppleLink--Apple Edition: DAVE.LYONS | P.O. Box 875 AppleLink--Personal Edition: Dave Lyons | Cupertino, CA 95015-0875 GEnie: D.LYONS2 or DAVE.LYONS CompuServe: 72177,3233 Internet/BITNET: dlyons@apple.com UUCP: ...!ames!apple!dlyons My opinions are my own, not Apple's.