General information
Title:
Not executing changed code
I've inherited an application that uses a procedure file. I've been making changes for a couple of weeks with no issues, but today, my changes aren't being applied. Specifically, I modify the code in the procedure file, and run the app again (from the Command Window) and the change doesn't show.
I've tried all the usual things: delete the FXP and recompile, check for other versions that might be getting used, etc. In fact, I stuck SET("PROCEDURE") in the Watch window to confirm that it's what I think it is.
Here's the really weird part. I set a breakpoint ("FUNCTIONAME"$PROG()) to stop execution at the top of a particular function. When the breakpoint fires, I use ASTACKINFO() to see that the right file is being called. Not only is it, but the line it shows me in ASTACKINFO() is the changed code. When I step through it, though, it executes the unchanged code.
A couple of times today, though, it behaved. Seems to me that's when I'd made larger changes, but I can't see how that would matter if I actually delete the FXP and recompile.
I've tried shutting down VFP and restarting it, too. The only thing I haven't tried is rebooting.
Any ideas?
Tamar
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only