I have a bit of a problem with error handling. Currently I have an ON ERROR calling a prg to handle the errors and also my top level classes have code in their error event that calls the same prg. The reason for the code in the erro revent mothod on the objects is because I want to capture extended informations about the object that caused the error. In development mode though I'd like to disable the error handler since it makes it more difficult to debug. While the ON ERROR is obviously easy to disable, I could not find any way to disable the Error Event triggering the code in the top level classes. Any idea how to make foxpro behave like there is nothing in the error event methods?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement