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