Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Hi everyone,
>
>I've spent about an hour debugging some problem and want to share my findings in case, somebody would be in this trouble. I have a class btcc_group, which is based on another class btcc_container. In the btcc_group class I created a method called btcc_ListSelect. In this method I placed some code and this code ended by dodefault(). This dodefault() was a problem, since I don't have this method in the parent class. Spent a long time working on this problem, since custom Error Handler interfered the process of debugging.
>
>Watch out! :)
Nadya;
Interesting! Yes, I can see why there would be a problem. I have placed code before a DoDefault() in the child object required by the parent, and then additional code needed by the child after the DoDefault().
Too bad we cannot call This.Child.MyMethod() just before the DoDefault() :)
Anyway, it is always good to hear what someone has found in case we get bitten in the future! :)
Tom
Précédent
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