Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!decwrl!adobe!bezanson From: bezanson@adobe.COM (Brian Bezanson) Newsgroups: comp.sys.mac.programmer Subject: Re: How do I get Discipline? Message-ID: <693@adobe.UUCP> Date: 23 Mar 89 22:53:27 GMT References: <12678@dartvax.Dartmouth.EDU> <2555@ilium.cs.swarthmore.edu> <21076@dhw68k.cts.com> <89Mar20.184214est.11025@ephemeral.ai.toronto.edu> Reply-To: bezanson@adobe.UUCP (Brian Bezanson) Organization: Adobe Systems Incorporated, Mountain View Lines: 15 In article <89Mar20.184214est.11025@ephemeral.ai.toronto.edu> dudek@ai.toronto.edu (Gregory Dudek) writes: > The 6.1 version of MacsBug I have refers to Discipline in its on-line >help. I've always assumed in was TMON's it was referring to (which doesn't Hmmm... Didn't know that there was a 6.1 version out, still using 6.0 Anyway, you can do a form a discipline by going into Macsbug and setting heap scramble on - then any calls to NewPtr, NewHandle, etc.. will cause a the heap to be scrambled. > While I'm at it, it would be really nice to be able to execute >MacsBug's heap checking under program control, as a diagnostic. There You can do this, check the doc, check MacDTS. ---- Brian Bezanson bezanson@adobe.com