Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine which line causes error in script
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00856676
Message ID:
00857749
Views:
23
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform