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