Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"source is out of date" msg 1

Status
Not open for further replies.

jfield817

Programmer
Jun 2, 2000
153
US
I am debugging an application in FP 2.5...

But having no luck trying to get a breakpoint to
work in a particular program file and in several for that
matter....I am getting "Source Is Out of Date"
when a certain .prg is encountered ...I have set breakpoints
in those .prgs .... and all it allows me to do is "Resume"
which doesnt allow me to debug the application...

Any ideas would be helpful
Thanks
John

 
Have you recompiled the program?
I have encountered this many times so I have
deleted the "program".fxp file. The fxp files always has to have a later date than the associated .prg



Michael Ouellette
mouellette@globalfreeway.com.au
 
The prgs are in project files ....That were developed
by another developer ....and there are .app files....
The prgs where I cannot set breakpoints are in app files...
Whats the solution short of recompiling the apps....

thanks
john
 
The app files are simply combined prg's. If you have the source files, prg's spr's etc then just recompile through the project. Its that simple.
I really don't understand what the problem is if you have the source since recompiling is just a click away...

Michael Ouellette
mouellette@globalfreeway.com.au
 
FoxPro will run program source code in the following sequence
EXE file
APP file
FXP File
PRG file
If you change a PRG and any of the above exist where FoxPro can File it, It will run the first thing it finds in the sequence listed. If you change a PRG file You must recomplile to the highest extension that exists.

ASSUMING YOU ARE NOT RUNNING/WORKING ON LIVE FILES AND ON A BACKUP COPY.

The only other thing you can do is rename/move all the EXE, APP, or FXP files so FoxPro can not run/find them. When You get the system running correctly on PRG files, then you can recompile the EXE, APP and replace the Orginal Application. David W. Grewe
Dave@internationalbid.com
ICQ VFP ActiveList #46145644
 
I found the problem ...
The paths to the prg/app files that are being called
were pointing to a different directory ....

In other words ...there was a path problem ....
So the problem has been solved.

I thank everyone responded to my post and helped.

Thanks
John

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top