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

  1. Path: sparky!uunet!olivea!gossip.pyramid.com!pyramid!infmx!godzilla!bobert
  2. From: bobert@informix.com (Robert Murphy)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Memory debugger available for Mac?
  5. Keywords: memory, debugger, Mac, errors
  6. Message-ID: <bobert.725668978@godzilla>
  7. Date: 29 Dec 92 22:42:58 GMT
  8. References: <1992Dec19.204150.895@leland.Stanford.EDU> <1992Dec20.214712.22561@kth.se>
  9. Sender: news@informix.com (Usenet News)
  10. Organization: Informix Software, Inc.
  11. Lines: 32
  12.  
  13. d88-jwa@dront.nada.kth.se (Jon Wtte) writes:
  14.  
  15. >In <1992Dec19.204150.895@leland.Stanford.EDU> kocks@chemistry.leland.Stanford.EDU (Peter Kocks) writes:
  16.  
  17. >>I'm looking to find a decent memory debugger for the Mac.  Something
  18. >>along the lines of "Purify" for the Sun.  You know, if I point to
  19. >>someplace I'm not supposed to be, it will tell me immdiately.   There
  20. >>most be some tools for debugger memory problems on the Mac. Yes?
  21.  
  22. >Well, "The Debugger" from Jasik Designs supposedly does funky
  23. >MMU stuff for 030 machines. For 040s I don't know of any.
  24.  
  25. Jasik is promising MMU protection for 040 machines in his next version,
  26. which is scheduled for January.  I hope he can make that timetable.
  27. Basically, his MMU protection (on 030 machines and 020's with a PMMU)
  28. lets you pick major areas of memory (e.g. low-mem globals, the System
  29. heap, all apps except yours, etc.) and write-protect and/or read-protect
  30. them on an individual basis.  You can also write-protect your app's
  31. code resources, including stand-alone code resources.
  32.  
  33. I would also recommend looking at a recent book entitled "No Bugs!"
  34. (sorry, can't remember the author or publisher).  There's a good-sized
  35. chapter on tricks for finding memory bugs; it's aimed at the DOS/Windows
  36. world but the gimmicks are quite applicable to Macs with a little
  37. tweaking.  I would consider these techniques complementary to what
  38. Jasik does.  Jasik's stuff is good for catching severely errant pointer
  39. problems and whatnot.  These tricks are good for catching memory leaks
  40. and minor memory overwrites.
  41.  
  42. Regards,
  43. Bob Murphy
  44. bobert@informix.com
  45.