[Lazarus] Attn Martin, LazarusDir and FPCSourceDirectory not saved to environmentoptions.xml

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Feb 14 09:33:02 CET 2014


On Thu, 13 Feb 2014 19:05:57 -0800 (PST)
leledumbo <leledumbo_cool at yahoo.co.id> wrote:

> > Ah, you debugged startlazarus.
> > Please start /media/LinuxShared/lazarus/lazarus in gdb. 
> 
> No difference:
> 
> leledumbo at LeleBuntu:/media/Sources/fpc$ gdb
> /media/LinuxShared/lazarus/lazarus
> GNU gdb (GDB) 7.5-ubuntu
> Copyright (C) 2012 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i686-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /media/LinuxShared/lazarus/lazarus...done.
> (gdb) b FPC_RAISEEXCEPTION
> Breakpoint 1 at 0x8072f25
> (gdb) run
> Starting program: /media/LinuxShared/lazarus/lazarus 
> Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading
> configurations from ~/.fonts.conf is deprecated.
> TMainIDE.ParseCmdLineOptions:
>   PrimaryConfigPath="/home/leledumbo/.lazarus"
>   SecondaryConfigPath="/etc/lazarus"
> TSourceEditorSharedValues.GetMainLinkScanner not pascal highlighted:
> unit1.pas
> [TEnvironmentOptions.Save]  error writing
> "/home/leledumbo/.lazarus/environmentoptions.xml": EDOMError in
> DOMDocument.CreateElement PackageEditor_
> NiceChartD7 0

Strange. It is raising a FPC exception. gdb should break here, but it
does not.

Martin, do you have an idea how this is possible?

Anyway I now see, that there is an invalid identifier:
" NiceChartD7". 
I added check. Please test.

Mattias




More information about the Lazarus mailing list