[Lazarus] bug in debug-log code...

waldo kitty wkitty42 at windstream.net
Tue Mar 20 17:32:48 CET 2012

On 3/20/2012 12:04, Martin wrote:
> On 20/03/2012 15:53, waldo kitty wrote:
>> anyway, my point is that something is eating the first part of the second
>> line... i suspect a string index counter error or translation string problem??
>> either way, it... ummm... bugs me... please forgive the pun...
> Well my logfile looks ok (win32)

at the very start? yes, win32... on w2k...

> But, my guess is:Some lines a written by startlazarus, then mor lines by
> lazarus.exe
> So probably 2 apps writing to the same file......

hummm... possible, i suppose... so i test...

i changed from

   startlazarus --debug-log=lazdbg1.log


   lazarus --debug-log=lazdbg1.log

and behold!

   PrimaryConfigPath="C:\Documents and Settings\e3br42x1\Local 
Settings\Application Data\lazarus"

so it does look like startlazarus is possibly holding onto the file too long... 
i see now why those two spaces are on the secondaryconfigpath line, too :)

but it is missing the line

   Adding "--debug-log=lazdbg1.log" as a parameter

which i suppose startlazarus is writing... shouldn't lazarus report its command 
line parameters? this in addition to or in lieu of startlazarus reporting them 
in the same log?

More information about the Lazarus mailing list