Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is Coverage Complete When you have to reboot a computer
Message
From
26/03/2009 17:49:38
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01391762
Message ID:
01391771
Views:
54
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform