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.