Hi there, thanks for the answer although I'm still not sure about the lpr / lpi problem.
For example I create a simple project, set Project Options -> Compiler Options -> Debugging -> Generate info for the debugger to of to off, save it and run it, close Lazarus.
If I check the lpi file I find
<Debugging>
<GenerateDebugInfo Value="False"/>
</Debugging>
which confirms that debug info will NOT be generated. To confirm I reopen the project buy double clicking the lpi file and check in project options that debugger will NOT be generated. All OK. Close Lazarus. Open the project by double clicking the LPR icon. Again check project options to see that debugger info will NOT be created. All OK.
Enable debugger info, save the project and close lazarus.
Check the LPI file and
<Debugging>
<GenerateDebugInfo Value="False"/>
</Debugging>
is missing - confirming that debug info WILL BE created.
Open the project with the LPR file. Check project options to confirm that debug info WILL BE created. All OK.
This to me means that if I open a project by dbl clicking the LPR file, Lazarus still reads the associated LPI file during the open process. Which to me means I can open a project with the LPR file.
Is this correct? Can you confirm?