Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is Coverage Complete When you have to reboot a computer
Message
De
26/03/2009 17:49:38
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01391762
Message ID:
01391771
Vues:
55
>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
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform