Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uunet!mcsun!ukc!axion!uzi-9mm.fulcrum.bt.co.uk!cat.fulcrum.bt.co.uk!nan.co.uk!sw From: sw@nan.co.uk (Sak Wathanasin) Newsgroups: comp.sys.mac.programmer Subject: Re: Problem using Zortech C++ and MacApp Message-ID: <0101000D.ymepcg@nan.co.uk> Date: 25 May 91 11:08:47 GMT Article-I.D.: nan.0101000D.ymepcg Reply-To: sw@network-analysis-ltd.co.uk Organization: Network Analysis Ltd Lines: 32 X-Mailer: uAccess - Mac Release: 1.0.3 In article <0101000D.uxsb5f@nan.co.uk>, sw@nan.co.uk (Sak Wathanasin) writes: > I can build both non-MacApp and MacApp programs and they run, so I think I have > all the include files and libraries all in the right folders. The problem is > with programs that I build that incorporate the MacApp debugger. The built > program runs, and puts up the "Debug" menu. I can open the debug transcript > from the menu, but as soon as I try to "Enter MacApp Debugger" or try typing in > the Debug transcript window, the Mac freezes and I can only get out of it by > rebooting; I can't even get into Macsbug. Even "Show software versions" is > enough to cause the freeze sometimes. I have now found out that if I replace {ZLibraries}ZLibC.o in the build with the standard MPW C library, {CLibraries}StdCLib.o, everything works fine. I.e., I can use the MacApp debugger again. It seems to me that there is a problem with the Zortech libc, and the way the MacApp debugger traps writelns and printfs to its transcript window. By the way, their tech support called me back the next day after I reported the problem. They didn't have the right answer, but at least they called back. That was the good news. The bad news is that I've now discovered a bug in ZTC where it generates incorrect code in certain circumstances. I have sent details to Zortech tech support, but if you want to know, send me email. Sak Wathanasin Network Analysis Limited uucp: ...!ukc!nan!sw other: sw@network-analysis-ltd.co.uk phone: (+44) 203 419996 snail: 178 Wainbody Ave South, Coventry CV3 6BX, UK