Source file is more recent than executable.
-
wrote on 20 Jan 2021, 17:08 last edited by
What is the real purpose behind this run time message ?
Sound like "it rained yesterday " posted as news .If "Source file is more recent than executable" would it be a compiler / build error prompting user to manually do rebuild or triggering automatic rebuild ?
What makes 'run time" to recognize such state and state not being recognized by build process?
IMHO it is pretty superfluous being posted in run time.
-
What is the real purpose behind this run time message ?
Sound like "it rained yesterday " posted as news .If "Source file is more recent than executable" would it be a compiler / build error prompting user to manually do rebuild or triggering automatic rebuild ?
What makes 'run time" to recognize such state and state not being recognized by build process?
IMHO it is pretty superfluous being posted in run time.
@AnneRanch said in Source file is more recent than executable.:
What is the real purpose behind this run time message ?
That message is produced by your debugger, not your compiler or program.
One of the debugger's jobs is to show you the exact location (in the source code) where the program is executing. It can't do this reliably if the code was changed after the executable was built.
So it's not superfluous at all. It's warning you that the newer code might reduce the debugger's accuracy.
-
@AnneRanch said in Source file is more recent than executable.:
What is the real purpose behind this run time message ?
That message is produced by your debugger, not your compiler or program.
One of the debugger's jobs is to show you the exact location (in the source code) where the program is executing. It can't do this reliably if the code was changed after the executable was built.
So it's not superfluous at all. It's warning you that the newer code might reduce the debugger's accuracy.
wrote on 21 Jan 2021, 00:16 last edited by@JKSH So it is the debugger message . Nice .
1/3