Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mcnc!gatech!bloom-beacon!eru!hagbard!sunic!news.funet.fi!funic!santra!hila.hut.fi!jmunkki From: jmunkki@hila.hut.fi (Juri Munkki) Newsgroups: comp.sys.mac.programmer Subject: Re: Looking for Discipline Message-ID: <1991Jan5.075239.20784@santra.uucp> Date: 5 Jan 91 07:52:39 GMT References: <33839.277FF08D@stjhmc.fidonet.org> <1991Jan5.013532.4524@svc.portal.com> Sender: news@santra.uucp (Cnews - USENET news system) Reply-To: jmunkki@hila.hut.fi (Juri Munkki) Organization: Helsinki University of Technology, FINLAND Lines: 26 In article <1991Jan5.013532.4524@svc.portal.com> daven@svc.portal.com writes: >In article <33839.277FF08D@stjhmc.fidonet.org> Chris.Gehlker@p12.f56.n114.z1.fidonet.org (Chris Gehlker) writes: >>TO> I'm looking for a utility (INIT?) called Discipline. >> >>I don't think it really exists. It's not on the developer CDs or the ETO CDs. >> >This another nice debugging utility that I believe is still in beta test >by Apple. I'm told that it works very nicely with TMON Pro and the newer >Apple Macsbug's. TMON has discipline as one of the user area routines. You can choose between lenient and strict discipline. Either way, most Macintosh applications make slightly illegal calls. Common problems are calling SetPort with a nil pointer and other similar horrors. In fact, I just tried discipline on a bug I had been trying to locate and it caught one illegal handle... I hope that was the problem. Programmers: If you have TMON, use strict discipline before you sell, post or give away any of your code. Discipline doesn't bother you unless there really is a problem. I can't notice any slowdown while discipline is active. ____________________________________________________________________________ / Juri Munkki / Helsinki University of Technology / Wind / Project / / jmunkki@hut.fi / Computing Center Macintosh Support / Surf / STORM / ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~