Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Trapping OFF
Message
De
03/08/1999 14:03:55
 
 
À
03/08/1999 14:00:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00249344
Message ID:
00249346
Vues:
34
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform