Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not executing changed code
Message
De
13/01/2010 16:53:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Not executing changed code
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01443830
Message ID:
01443830
Vues:
138
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform