Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugger advice appreciated
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00064338
Message ID:
00064369
Vues:
41
>>>>I have had next to no experience using the Debug utility that comes with VFP. I looked at the help file for debuggung topics and was a little confused, to say the least.
>>>>
>>>>I want to debug a form. On this form, when a record is deleted, the record pointer moves to EOF(). I want to find out what is causing this to happen. Can anyone point me in the right direction here? Where do I begin?
>>>>
>>>>Thanks, AL
>>>
>>>Al, Nick has given you excellent advice on getting started with the debugger. You may wish to take a look at ASSERT and SET ASSERT ON|OFF. I've found these commands even better for getting into code since you can ignore them at will and since they are ignored in a compiled EXE. If you forget to take them out, the client won't notice.
>>>
>>>Barbara
>>
>>Good point, Barbara. I recall that I even read the article once, probably in FPA about ASSERT but completely forgot about it. :)
>>
>>Nick
>
>I've just started using ASSERTs, after one of my group reminded ME. I really like them. You can either use a simple ASSERT .f. or something more complicated "ASSERT + iif(month(date()) = 12, .T., .F.)"
>
>Barbara

Just be sure you don't use ASSERT for validations! Otherwise, everything goes fine. :)

Vlad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform