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

Click here to load this message in the networking platform