Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Trapping OFF
Message
From
03/08/1999 14:03:55
 
 
To
03/08/1999 14:00:43
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00249344
Message ID:
00249346
Views:
33
>apart from 'on error' or 'on error 0' what else must we do to prevent vfp jumping to its error reporting code rather than stopping where we want it stopped - on our offending line of code.
>
>This seems to be a particular problem when developing a form and using the 'run form' option. Even with variations like 'on error suspend' in the load method, it still traps the errors. It hits a problem and immediately jumps to the error reporting code forcing me to unwieldy means like setting step on in the code and manually stepping through till I hit the problem. I'm confident that there has to be a way to prevent this but as usual the manual is either silent or opaque on the issue.
>
>Thanks
>
>Harry

How about having a glDev variable for development that you turn on which will if true do ON ERROR if not true set up your usual ON ERROR handler.

HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform