[comp.sys.mac.programmer] MacsBug behavior?

alexis@ccnysci.UUCP (Alexis Rosen) (01/08/89)

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.

Thanks,
Alexis Rosen
alexis@ccnysci.uucp

bob@accuvax.nwu.edu (Bob Hablutzel) (01/09/89)

> 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

jordan@Apple.COM (Jordan Mattson) (01/10/89)

Dear Alexis, 
	That is because you should be using MacsBug 6.0, which is available
from APDA (1-800-282-APDA).  If you order it, they will ship it out to
you within 24 hours.

	


Jordan Mattson				UUCP:   jordan@apple.apple.com       
Apple Computer, Inc.			CSNET: 	jordan@apple.CSNET
Tools & Languages Product Management
20525 Mariani Avenue, MS 27S
Cupertino, CA 95014
408-973-4601
			"Joy is the serious business of heaven."
					C.S. Lewis

fjo@ttrdf.UUCP (Frank Owen ) (01/11/89)

in article <10050063@accuvax.nwu.edu>, bob@accuvax.nwu.edu (Bob Hablutzel) says:
> BTW, 6.0 is a big improvement over 5.5.


Could someone post this latest version of MacsBug to comp.binaries.mac?

It would seem to be useful to alot of us mac.programmers


Thanks.

Frank Owen (fjo@ttrdf)  312-982-2182
AT&T Bell Laboratories 
5555 Touhy Ave., Skokie, IL  60077
PATH:  ...!att!ttrdf!fjo
-- 
Frank Owen (fjo@ttrdf)  312-982-2182
AT&T Bell Laboratories 
5555 Touhy Ave., Skokie, IL  60077
PATH:  ...!att!ttrdf!fjo

jordan@Apple.COM (Jordan Mattson) (01/11/89)

Dear Frank,
	No, someone cannot post the latest version of MacsBug to 
comp.mac.binaries.  This is because of the requirements of the 
copyright law as it relates to the control and distribtution of
software.  To retain control, you have to know who is receiving
a copy.
	If you want a copy of MacsBug, you can obtain it from
APDA or a number of electronic services (CompuServe, Genie, etc).



Jordan Mattson				UUCP:   jordan@apple.apple.com       
Apple Computer, Inc.			CSNET: 	jordan@apple.CSNET
Tools & Languages Product Management
20525 Mariani Avenue, MS 27S
Cupertino, CA 95014
408-973-4601
			"Joy is the serious business of heaven."
					C.S. Lewis