[comp.sys.mac.programmer] Lightspeed C 3.0 & 1 MEGA Bytes RAM

bordier@imag.imag.fr (Jerome Bordier) (05/30/90)

I have tried to use LightSpeed C version 3.0 Debugger with Macintosh Plus,
1 Mega bytes RAM and Minimum System 6.0.4 (300K). Project is very small.
 "Use debugger" option is checked.  Why Debugger is not launched when running
the project ?
Is it possible to use Debugger with this system configuration ?

-- 
Jerome BORDIER 	Laboratoire de Structures Discretes et de Didactique
                IMAG B.P. 53 X  38041 GRENOBLE Cedex   FRANCE
TEL: (33) 76 51 45 53  FAX: (33) 76 51 45 55
INTERNET: bordier@imag.Fr       UUCP: bordier@imag (uunet.uu.net!imag!bordier)

spencer@osc.edu (Stephen N. Spencer) (05/31/90)

In article <10222@imag.imag.fr> bordier@imag.fr (Jerome Bordier) writes:
>I have tried to use LightSpeed C version 3.0 Debugger with Macintosh Plus,
>1 Mega bytes RAM and Minimum System 6.0.4 (300K). Project is very small.
> "Use debugger" option is checked.  Why Debugger is not launched when running
>the project ?
>Is it possible to use Debugger with this system configuration ?
>

You did everything correct except for one thing: You didn't say whether
or not you were running Multifinder, which you must do in order to run the
debugger in Lightspeed C.  You really can't run MF with only one megabyte
of memory, there isn't enough room.  I've heard of some workaround but 
don't have any details.  The easiest way to remedy the situation, 
unfortunately, is the purchase of two megabytes of memory, kicking the Plus
up to 2.5 megabytes.  Then you can run the debugger, MultiFinder, etc. with
little worries about running out of memory.



-- 
Stephen N. Spencer      |"Is this heaven?"
ACCAD, 1224 Kinnear Rd. |"No, it's Iowa." 
Columbus OH 43212       |        - _Field of Dreams_
spencer@heinlein.cgrg.ohio-state.edu OR 71160.3141@compuserve.com

bordier@imag.imag.fr (Jerome Bordier) (06/01/90)

Here is an answer that solves the problem:
   Two things:
1) You must be running multifinder.
2) To get the debugger to work w/ only 1M, you are going to have to quit out
of the finder first.  You need to make an FKEY w/ the contents A9F4.  I think
this is the exit to shell instruction. Launch LSC, go back to the finder and
invoke the new FKEY.  This quits the Finder. Now Run the program with
Use Debugger checked.  When you are all finished programming, just quite
out of LSC.  This will relaunch the Finder.
(by Melissa A. Hines:  Hines@Portia.Stanford.Edu)

N.B. Before launching LSC, modify "Application Memory Size" field to about 400K
in "Get info" dialog.


-- 
Jerome BORDIER 	Laboratoire de Structures Discretes et de Didactique
                IMAG B.P. 53 X  38041 GRENOBLE Cedex   FRANCE
TEL: (33) 76 51 45 53  FAX: (33) 76 51 45 55
INTERNET: bordier@imag.Fr       UUCP: bordier@imag (uunet.uu.net!imag!bordier)