I have boiled this problem down to its simplest code: create a program, create a second program,
and try to revise the first program.
I created a new application, with nothing but a button and a label on the form
and all it does is set label1.caption := 'jnk project 1'; I changed the form's caption to
'junk1 form' to allow immediate identification.
It runs, as expected. I did a save all and saved the project as "jnk1project" and
the pascal file as "junk1u1.pas
I did a close all, got out of Lazarus, and started Lazarus again, and repeated above steps
calling the new program 'junproject2' and junk2u1.pas. It runs as expected.
I got out of Lazarus after doing a close all, then came back in. I want to make revisions to junk1.
I did an open recent for junk project 1 and clicked F9 and what ran was junk#2. It seems like it is running the last project,
so I exited Lazarus, started it again, and loaded in the previous project name, ending in .lpi.
When I ran it, nothing happened....no form shows, but it said "debugging" on the toolbar.
I tried again loading the .lps file, and also the lpr file. I have tried opening the pas file first,
then the project as well as opening the project first, then .pas file.
There was no load recent for the project files, and they exist in 2 different folders: "...\backup"
and "...[backup\backup" I have tried both. I have gotton several different error messages deppending on the
selected project names, one saying it could not fnd the exe file, one saying unexpected end of file, but the error
messages do not say which file.
Could somebody please replicate this and specify which steps you take after the second project is created, saved, and run,
to open the first project and make a simple revision, and run it.
In what order do you open the .pas file and the project file?
And which project file, the .lpi, the ,lpr, or the .lps?
I already have created a post with much more details,but I am entering this as a new topic thinking that so much
details over several days will be ignored.
Thank you.