Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Actual Line Number in the PRG
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Actual Line Number in the PRG
Miscellaneous
Thread ID:
00345536
Message ID:
00345536
Views:
49
When my error routine returns the line number of the offending line of code, how do I know what line to go to in the PRG? This is not a trick question. Is the line number returned take into account all the comment lines I have in the PRG? What about blank lines? I also can not get message[] or message[1] to return the actual code. And YES, I compiled the APP with the DEBUG INFO option checked.

All I get from all the ON ERROR parameters, is Error#, program name, line # and the syntax error message. AERROR[] is also no additional help.

This is one b*tch of an error because I only get it in runtime so the debugger is not available. I hate when this happens.

TIA!
Mark McCasland
Midlothian, TX USA
Next
Reply
Map
View

Click here to load this message in the networking platform