Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error handling
Message
De
05/02/2001 14:01:13
 
 
À
05/02/2001 12:35:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00472475
Message ID:
00472594
Vues:
28
Thank you Doug but that would bring up the debugger in the Error method not the original method and at this point you have no option of changing a local value and continue (assuming correcting a local value would make the code work right).

>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
Répondre
Fil
Voir

Click here to load this message in the networking platform