Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coverage in RunTime
Message
De
06/12/2015 19:54:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01628534
Message ID:
01628573
Vues:
33
>>>There is an intermittent bug that only happens about 1 in 100 cases at customer site,
>>>I was hoping I could use Coverage to find the bug, but it doesn't work in RunTime Environment.
>>>
>>>Other than having to install the entire VFP development on those machines, is there an alternate way to achieve this?
>>>One thing I could do is to sprinkle lines of code in different parts of every module involved and create a semi-coverage that way.
>>
>>Is there any way you can detect the error, during run time, when it happens?
>>
>>If so you can call a routine that records the call stack, contents of memvars, open tables etc. in much the same way many enhanced error handlers record that information.
>>
>>If the bug is actually causing a VFP error then you could enhance your error handler.
>
>Thanks for the tip. The bug actually is somehow intermittently (about one in 100) in RunTime my save process REVERTS BACK the changes made.
>
>So it is not an ERROR to capture. The only I can find out why is to register the Code execution and see at which point it causes the changes to revert back.
>
>So now instead of using COVERAGE I am putting in a bunch o single command CALLS in the SAVE process to register where the program is going in the hope of when it happens the user will to upload the LOG..

If your SAVE code isn't too complex, another option would be to copy it here. Someone might spot something.
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