[comp.sys.mac.programmer] Very Strange Things Afoot...

bowman@reed.UUCP (Eric Bowman) (03/16/90)

Warning:  This problem is not for the weak of heart.

I just wrote a LDEF procedure (in MPW C 3.0) to frame each cell in a
3-column, 5-row list created with the list manager.  Suddenly, for no
discerable reason, the Draw portion of my LDEF no longer worked properly.
It was definitely being called, since my list items were being frame ok,
but my call to TextBox (and, alternately, DrawText) were not working.

Afraid that I was somewhere inadvertantly erasing the text, I dropped into
Macsbug and installed a short checksum through ROM to slow things down so
I could see what was happening on the screen.  Strangely enough, when I did
this, things worked normally.

Rebooting and stripping away all INITs had no effect.

A while later, things started working ok again, so I stopped worrying, and
have now discovered that this problem exists when I run SU-Mac/IP version 3.04
in the background. (!)

For the life of me, I can't figure out what the problem could be.  I did some
poking around in Macsbug, and Mac/IP does not appear to be patching either
TextBox or DrawText, though it does use both fairly extensively.

	o	Why would things work any differently while checksumming in
		Macsbug?

	o	Why would Mac/IP's presence affect my program?  Is it possible
		that MF isn't dealing with trap tables correctly?

	o	Has anyone else encountered similar problems?  It only seems
		to affect TextBox from within the LDEF; otherwise TextBox
		works ok.

Authors of Mac/IP -- are you out there?

Thanks for any help,
BobO
bowman@reed.{bitnet,UUCP,edu}
tektronix!ogccse!reed!bowman

"You can take all the impact that science considerations have on funding
decisions at NASA, put them in the navel of a flea, and have room left
over for a caraway seed and Tony Calio's heart." -- F. Allen