Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error handling
Message
De
05/02/2001 12:35:22
 
 
À
05/02/2001 10:54:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00472475
Message ID:
00472535
Vues:
49
Hi Sorin.

>In development mode though I'd like to disable the error handler since it makes it more difficult to debug.

In the Error method of your classes, you could put something like this:
if version(2) = 0
do MyErrorHandler
else
debug
endif>/pre>

>Any idea how to make foxpro behave like there is nothing in the error event methods?

There's no way to do that -- if there's code in the Error method, it fires.

Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform