Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not executing changed code
Message
 
 
To
13/01/2010 16:53:31
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01443830
Message ID:
01443844
Views:
55
>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

What is SET DEVELOPMENT set to?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform