Date: Tuesday, July 19, 1994 5:53:20 PM Author: Apple Computer, Inc. Subject: ZZPortList init Equipment: Macintosh Summary: PortList is an extension that helps find when an application does not create or dispose of GrafPorts and CGrafPorts properly. PortList drops into macsbug with the message "Port already in PortList." if you are calling open port on the same pointer twice. This message could also appear if the port was not properly disposed and you just happened to get the same pointer again. PortList also drops into macsbug with the message "Port not found in PortList." if you call ClosePort with a pointer that was never passed to InitPort or OpenPort. The init is really small, has little overhead, should not affect the performance of your machine. Please use it peridically for testing and debugging purposes. You'll make the Mac a nicer place to work. Keywords: testing, debugging, multiple open Virus scan: Disinfectant 3.5 shows no viruses in this file