Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!husc6!endor!siegel From: siegel@endor.harvard.edu (Rich Siegel) Newsgroups: comp.sys.mac.programmer Subject: Re: List Manager Problem Keywords: combining text and graphics. Message-ID: <896@husc6.harvard.edu> Date: 30 Dec 88 16:04:10 GMT References: <221@dalcsug.UUCP> <966@geowhiz.UUCP> <1235@viscous> Sender: news@husc6.harvard.edu Reply-To: siegel@endor.UUCP (Rich Siegel) Organization: Symantec/THINK Technologies, Bedford, MA Lines: 27 In article <1235@viscous> jamesm@sco.COM (James M. Moore) writes: >Is there a way to use the Lightspeed C debugger to debug custom LDEFs? I usually implement custom defprocs by creating a dummy defproc resource that's only six bytes long, containing $4EF9 0000 0000, and at program startup, I patch the last four bytes to point at my custom defproc which is implemented as a procedure in my program. It's wise to put the defproc in a segment which will not move or be purged, e.g.,the main segment. It's a good way to debug defprocs... --Rich Rich Siegel Staff Software Developer THINK Technologies Division, Symantec Corp. Internet: siegel@endor.harvard.edu UUCP: ..harvard!endor!siegel Phone: (617) 275-4800 x305 Any opinions stated in this article do not necessarily reflect the views or policies of Symantec Corporation or its employees.