Some units of Projects not recompiled on Run
Original Reporter info from Mantis: Blaazen @Blaazen
-
Reporter name: Vojtech Cihak
Original Reporter info from Mantis: Blaazen @Blaazen
- Reporter name: Vojtech Cihak
Description:
Some units of Projects are not recompiled on Run (F9). Basically, you can reproduce this issue with any project, steps are:
Change one unit (don't save it)
Switch to other unit, change it and do Quick compile (this saves both units)
Change the second unit again and Run project (F9)
Steps to reproduce:
Unzip attached project, open all units in Source Editor (unit1.,pas, unit2.pas and project1.lpr).
Open Console In/Output debug window (Ctrl+Alt+O).
Step 1: Change text in unit1
writeln('Unit1 Click aaaaaaaaa');
and do not save file!
Step 2: Switch to tab unit2 and change text
writeln('create bbbbbb');
Step 3: Do Quick Compile (from menu or by short cut). Note that both files are saved now.
Step 4: Change text again
writeln('create bbbbbb ccccc');
Step 5: Run project and click button. The output is:
create bbbbbb ccccc
Unit1 Click
The change made in unit1 is not displayed.
Additional information:
Related forum thread: https://forum.lazarus.freepascal.org/index.php/topic,51388.0.html
Lazarus 2.1.0 r63942M FPC 3.3.1 x86_64-linux-qt
Mantis conversion info:
- Mantis ID: 37856
- OS: Linux
- OS Build: Chakra 64-bit
- Build: 63942
- Platform: amd64
- Version: 2.1 (SVN)