Author Topic: My program won't update  (Read 1589 times)


  • Newbie
  • Posts: 1
My program won't update
« on: June 29, 2021, 05:53:20 pm »
Hey, I'm literally a complete beginner but we're doing Lazarus in school and I'm having some issues.
No matter what I change about the program, if I run it, the changes are not applied. The application just stays the same no matter what I do. I've been working on it for a while tho, and it was fine at first. Now it just won't update anymore. I hope there's a solution to this.


  • Hero Member
  • *****
  • Posts: 4219
Re: My program won't update
« Reply #1 on: June 29, 2021, 06:56:27 pm »
How are you running the program, from inside Lazarus or launching the exec?

If the later, are you sure you're running the newly compiled exec? It might happen, for example, that you accidentaly saved the project to a new folder but are trying to run it from the old one.

Otherwise make sure the program is really compiled anew by selecting "Run->Clean up and build", or even deleting by hand the exec and compiled units (*.o, *.or, *.ppu, etc.) before compiling.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.


  • Hero Member
  • *****
  • Posts: 5129
Re: My program won't update
« Reply #2 on: June 30, 2021, 12:39:37 am »
All errors need to be corrected before a compile is successful which means it generates a new program file reflecting your changes, otherwise all you have is the last program file that was successful.
The only true wisdom is knowing you know nothing


TinyPortal © 2005-2018