home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / mac / programm / 20153 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!wupost!waikato.ac.nz!ldo
  2. From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: I will kill or die for this tool
  5. Message-ID: <1992Dec22.111203.12942@waikato.ac.nz>
  6. Date: 22 Dec 92 11:12:02 +1300
  7. References: <1992Dec21.043540.20183@hobbes.kzoo.edu>
  8. Organization: University of Waikato, Hamilton, New Zealand
  9. Lines: 16
  10.  
  11. In article <1992Dec21.043540.20183@hobbes.kzoo.edu>, k044477@hobbes.kzoo.edu (Jamie R. McCarthy) writes:
  12. >
  13. > Might some enterprising developer want to write a Macsbug dcmd that will
  14. > keep track of the state of a handle/resource?  It would trap _HLock,
  15. > _HUnlock, _HPurge, _HNoPurge, _AddResource, _DetachResource,
  16. > _ReleaseResource, and _DisposHandle, oh yeah and _HSetState too.  You
  17. > tell it to keep track of a certain handle, and to drop into Macsbug when
  18. > its state changes a certain way.
  19.  
  20. How about a brute force approach: use the SS command on the block header?
  21.  
  22. The block header for 32-bit heaps is described on page 2-23 of the new "Inside
  23. Macintosh: Memory".
  24.  
  25. Lawrence
  26. just got his NIM volumes today. :-)
  27.