Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tracing Timer Event code
Message
De
30/01/2001 13:54:26
 
 
À
30/01/2001 12:24:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00470159
Message ID:
00470219
Vues:
32
>>I have a strange happening. If I set a breakpoint in the click of a button I can then step through the code one line at a time. If I set a break point in a timer event method, when I try to step into the process it does not stop on the next line, it acts as if I had selected resume.
>>
>>TIA
>>Robert
>
>Did you disable the timer while debugging?

Yes, that is the first line of code in the event.
timer1.timer Code looks like

this.enabled = .F.
a=1 (breakpoint)
b=2
c=3
d=f

program stops on "a=1" and shows trace window. When I press "step into" the error at line "d=f" appears(I made this error on purpose). The program does not stop on the 2 lines in between. If you put the same code in the click of a button (except for this.enabled) the program will step through just fine.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform