Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!ames!xanth!mcnc!rti!sas!walker From: walker@sas.UUCP (Doug Walker) Newsgroups: comp.sys.amiga.tech Subject: Re: Ooops, forgot one thing in my Lattice review Message-ID: <1105@sas.UUCP> Date: 13 Jul 89 17:36:40 GMT References: <17426@gryphon.COM> Reply-To: walker@sas.UUCP (Doug Walker) Organization: SAS Institute Inc, Cary NC Lines: 29 In article <17426@gryphon.COM> ddave@pnet02.cts.com (David Donley) writes: >lots of stuff in a temporary ram file. It also takes memory because it has to >load the 650K executable in, while the MANX one only loads a 150K executable >and reads the 100K file off the disk (Well, on my harddisk, the MANX is faster >- on a floppy, I guess the Lattice would be faster since it uses more ram) The implication of your posting was that CPR takes up more memory than SDB for code, at least the way I interpreted it. Obviously, if the exe is bigger, it will take more memory. As I said, we're working on it. You can tell cpr to put its temporary file elsewhere besides RAM with the -t option. I have successfully debugged a sizeable program on a 512k one-drive A1000 with the temp file on floppy. If I had had a meg or more, as most developers using the compiler do, I would have had no problem with the temp file in RAM. As an asid, a good technique to use is to have your makefile set up to build a non-debug version of the exe, like this: prog: prog.d blink from prog.d to prog nodebug prog.d: $(OBJS) blink from lib:c.o $(OBJS) to prog.d lib ... Then when you want to use CPR, do it with prog.d; when you want to run without CPR, use prog. --Doug