Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!mcvax!kth!sunic!dkuug!daimi!rask From: rask@daimi.dk (Jorgen Rask) Newsgroups: comp.sys.mac.programmer Subject: LSP bugs Message-ID: <2589@daimi.dk> Date: 22 Jun 89 19:30:13 GMT Sender: news@daimi.dk Reply-To: rask@daimi.dk (Jorgen Rask) Organization: DAIMI: Computer Science Department, Aarhus University, Denmark Lines: 49 I have been working on a project in LSP for some months now and suddenly a lot of strange behaviour is occuring. The project is medium size (around 20.000 lines) ported from Turbo Pascal. In the last month or two a lot of work has gone into the program and it is now in late-beta testing. Yesterday a link error occured and "Check Link" revealed: undefined "THEPORT" (Runtime.lib) < repeated 5 times...! > Naturally I panicked - everything had run smoothly the hole day and I was only recompiling after a few cosmetic changes. Fortunately this mysterious error disappeared after a complete rebuild of the project. Today the editor begins to garble in a most disquieting way: when scrolling a file pagewise, big chunks of code gets displaced and after sufficiently long (short) time of scrolling around LSP bombs. Also when using the search facility text in the line below a pattern match is hilited. Similiar behaviour was observed two months ago, and after a few days tracking I then found that compound statements in a case-statement (i.e. with "begin"s in some of the cases) was the culprit. Especially when there is a comment next to the "begin"!! At other times I have noticed that the editor occasionally looses a "begin" when you are editing close to it (in the line below or similarly). I'm not sure whether these events are connected or not. I have looked loosely at a saved file the editor didn't like with MacTools (which displays the disk contents directly) and nothing seems to be wrong with the file. Neither is there any- thing to see in the editor before it looses its grip so nothing reveals exactly what is wrong. My system configuration: LSP 2.0p1 Mac Plus with 2.5 Mb SystemTools 6.0.2 GateKeeper and TMON Prior to these happenings I was quite satisfied with LSP, particularly its source code debugger. Hope something can be done about these bugs, so I can rest more assured the hole project doesn't corrupt before the application is on the street