Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is Coverage Complete When you have to reboot a computer
Message
 
À
26/03/2009 17:49:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01391762
Message ID:
01391775
Vues:
59
>>We are trying to debug spaghetti code from another programmer.
>>The program is hanging and we have to do a CTRL/ALT/DEL.
>>Will the results of the coverage command be complete if we reboot?
>>Can we force the coverage file somehow to be complete?
>>If not, are there any other tools available to us other than debug mode?
>
>One trick you could try would be to create a small program file:
>
>* DebugPasta.prg
>
>* Set up an ON KEY LABEL you can press when the spaghetti code "hangs", e.g.:
>ON KEY LABEL F10 QUIT
>* or maybe you could CANCEL, CLEAR EVENTS, or run your own cleanup code
>
>* Now run the problem code:
>DO Pasta WITH ...
>
>* When Pasta "hangs", press F10
>
Actually, there is code for the user hitting the 'Escape' key which is normally used to stop the program.
It is not working in this particular hang.
Regards,

Allan Coganovitch
allanc@proven-solutions.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform