home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14159 < prev    next >
Encoding:
Text File  |  1992-08-18  |  1.4 KB  |  35 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!usc!sdd.hp.com!ux1.cso.uiuc.edu!uchinews!quads!chh9
  3. From: chh9@quads.uchicago.edu (Conrad Halton Halling)
  4. Subject: Checksumming MemErr global variable (Tech Note 7) problem
  5. Message-ID: <1992Aug18.181714.12276@midway.uchicago.edu>
  6. Sender: news@uchinews.uchicago.edu (News System)
  7. Reply-To: chh9@midway.uchicago.edu
  8. Organization: University of Chicago Computing Organizations
  9. Date: Tue, 18 Aug 1992 18:17:14 GMT
  10. Lines: 23
  11.  
  12. Tech Note 7 says:
  13.  
  14. "If you are having strange, memory-related problems, one thing that
  15. you can do to help find them is to checksum on MemErr (the low memory
  16. global word at $220).  In MacsBug, type "SS 220 221"....  When MemErr
  17. changes, the debugger will appear, and you can check your code to make
  18. sure that you are checking MemErr.  If not, you might have found a problem
  19. that could cause your program to crash!"
  20.  
  21. I tried this, but apparently StripAddress() is using MemErr because it
  22. is stuffing strange numbers into this global variable, so this technique
  23. doesn't seem to work any more.  Does anyone know why StripAddress()
  24. is using MemErr??
  25.  
  26. Furthermore, although I can get the "SS" command to work on an SE, a IIcx,
  27. and a IIci under System 7, it locks up a IIsi.  The cursor changes to
  28. the watch, the hands move a few times, the cursor disappears, and then
  29. nothing.  Has anyone had problems with this?
  30.  
  31. -- 
  32. Conrad Halling
  33. c-halling@uchicago.edu
  34.  
  35.