Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 9 Debugger Bug
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01034735
Message ID:
01034833
Vues:
15
>There is another way to stop the program.
>define a public variable before you call this method (just for debuging).
>
>IF _VFP.StartMode == 0
>   IF TYPE("pnCallMethod") == "U
>      PUBLIC pnCallMethod
>      m.pnCallMethod = 0
>   ENDIF
>ENDIF
>
>
>then in save method there where you want the program stops:
>
>
>IF _VFP.StartMode == 0
>   SET ASSERTS ON
>   m.pnCallMethod = m.pnCallMethod + 1
>   ASSERT m.pnCallMethod # 2 && or something similar just the condition must be .f. when you want to stop
>ENDIF
>
Thanks a lot, let me try.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform