Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error handling
Message
From
05/02/2001 12:35:22
 
 
To
05/02/2001 10:54:28
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00472475
Message ID:
00472535
Views:
43
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform