Is there a way to avoid changing the project settings when FPDebug is used, or to write the changed settings to the session file rather than to the lpi file?
Afaik, debug info is stored in session.
I opened one of the examples to check, and
Project options > Session
showed
"Save in lpi file"
IMHO, that should be set to "save in lps" for all examples.
That would then need to be committed once to svn.
I prefer lps in project dir, but if you want clean svn checkouts, then it needs to be in config dir (which afaik can lead to name clashes)
I've got to return to this topic... In the attachment there is a simple project which just does what I described above: it stores debug settings in the lpi file although "Project options" > "Session" shows "Save in lps file in current directory". This is a standard gui project with some controls and a stupid calculation created from default parameters. Since the debugger in my system is fpdebug I was forced to select one of the dwarf debug settings upon compilation. Looking into the lpi file I see that it contains this information. Martin, according to your response I would expect it to be in the lps file:
<Linking>
<Debugging>
<DebugInfoType Value="dsDwarf2"/>
</Debugging>
<Options>
<Win32>
<GraphicApplication Value="True"/>
</Win32>
</Options>
</Linking>
Am I missing some setting to avoid this? And what is different in the Lazarus example projects?
I am using Laz trunk on Win10.