[lazarus] Corrupted LPI

Andrew Johnson aj_genius at hotmail.com
Thu Sep 26 16:59:15 EDT 2002


On Wed, 25 Sep 2002 23:25:57 -0500
"Tony Maro" <TonyM at nlisc.com> wrote:

>And was amazed to find the same unit listed about 20 times,

this was probably the jump-to section, which keeps track of where you well, 
jumped to within a file. AFAIK Multiple entries here is not an issue, and 
should be considered normal.

>several unit entries with no data at all (including unit name)

well. This certainly sounds like a problem. Did you happen to keep the file? 
It would help for a reference to track this problem down.

>and multiple units from other projects weeks ago that I had closed long 
>before creating this latest project.  It's like it did a mix-n-match of 
>every unit I'd ever opened, regardless of if it was originally in a 
>different project file.  It even included some files I'd opened in the 
>editor off of a CD but never added to any project.

hehe.. this is not a bug. this is a feature.. No, really. Every project file 
keeps track of every file you open while in it. I am sure your thinking - 
WHY?! Basically so that next time you open it lazarus can open up to them 
same spot in the file as when you last had it opened. I use this feature all 
the time in that I have a test project open in which I will edit Lazarus 
sources. Next time I open up they are remembered and open up right to the 
same line, so as I am working, testing, recompiling lazarus, reopening etc 
etc.. I am always in the same spot as I was last time. This not the problem 
either as Mattias was telling me that his project file has like a 1000 
entries w/out any corruption in site(not that it couldn't be caused by 
something in this area though). Fact is you use this feature too even when 
you don't realize it. Actually, I thought this was the problem too till I 
started to dig through sources to try and fix it. Well. Now ya' know.

Andrew


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx






More information about the Lazarus mailing list