Path: utzoo!attcan!uunet!lll-winken!ames!ncar!tank!nucsrl!accuvax.nwu.edu!bob From: bob@accuvax.nwu.edu (Bob Hablutzel) Newsgroups: comp.sys.mac.programmer Subject: Re: MacsBug behavior? Message-ID: <10050063@accuvax.nwu.edu> Date: 8 Jan 89 17:08:26 GMT References: <1146@ccnysci.UUCP> Organization: Northwestern U, Evanston IL, USA Lines: 28 > I have just started using MacsBug again after about three years. I'm > using V5.5 (shipped with LSP 2.0) on a Mac II running MultiFinder, > System Release 6.0. I recently wrote some code which plays fast and > loose with the menulist, so to test it I used the HS command to scramble > the heap. I was under the impression that this would scramble the heap > once. > In fact it seems to do something quite different. As far as I can tell > it is scrambling the heap constantly. It is also continuously turning on > and off a few bits at the top of the screen, over the File menu. Is this > normal behavior? If so, how do I turn it off? > This happens whether or not any INITs are loaded, in both Uni- and MultiFinder. I'm using MacsBug 6.0, not 5.5, so there may be differences, but the help text for the HS command says that it will check the heap for consistancy every NewPtr, NewHandle, ReallocHandle, SetPtrSize and SetHandleSize call. If the heap is OK, it will be scrambled. If the heap is bad, you drop into MacsBug. Issuing another HS command turns the first one off. BTW, 6.0 is a big improvement over 5.5. > Thanks, > Alexis Rosen > alexis@ccnysci.uucp Bob Hablutzel BOB@NUACC.ACNS.NWU.EDU