Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!pilchuck!seahcx!phred!jimo From: jimo@phred.UUCP (Jim Osborn) Newsgroups: comp.sys.mac.programmer Subject: Re: How do you use HeapScramble? Summary: How do you turn it back OFF??? Message-ID: <3322@phred.UUCP> Date: 16 Jan 91 00:36:31 GMT References: <127599@linus.mitre.org> Reply-To: jimo@phred.UUCP (Jim Osborn) Organization: o Lines: 27 laf@mbunix.mitre.org (Lee Fyock) writes: >How do you use Macbugs' heapscramble ("hs")? >... >came back to the debugger and stepped on the line: > InitGraf(&thePort); >whereupon I was dropped back into macsbug... I've had the same experience, seeming to imply memory-handling problems in the toolbox calls. Could these "errors" be caused by being close to (or barely over) the limits for memory? I'm trying to work on an old 2 Meg Mac II. My application uses a full-screen offscreen PixMap and if I try to Run from Think C with the Set-Project-Type memory size less than 500K I quit with an "Out of Memory" message. If I try to set Think C's allocation to less than 700K I get the "Out of Memory" message when I try to compile. In any case, even with its 700K Think C trips MacsBug if I've ever turned on heapscramble since the last reboot. I assume this means that Think C is misbehaving somehow, but of course I don't have control over that. How can I turn heapscramble back OFF so that I can use the compiler again? Surely we aren't meant to reboot after every heapscramble test, are we? -- pilchuck!jimo@phred Jim Osborn, Physio Control Corp 11811 Willows Rd, Redmond, WA, 98073 206-867-4704 direct to my desk