Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine which line causes error in script
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00856676
Message ID:
00857749
Vues:
22
>One approach I have used would be to KEEP the program external as its own "MyScriptTest.prg".
>
>Then in your "MyProc.prg", just have it do a direct call to "DO MyScriptTest"
>Yes, you are now getting an extra layer into the call-stack, but you should get full debug because it is a hard program with determinable line numbers to go against.
>
>Once you get the script working, then copy the "MyScriptTest.prg" code back into your "MyProc.prg".

Don,

Errors in my scripts occur in run time.
I create scripts in customer sites where there is no VFP development version installed.
I'm currently getting only error message in this case.
It is NOT possible to determine the line number or the code which causes
the error.
So it is impossible to fix run-time errors in scripts.
Andrus
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform