Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buffer overrun in error handler
Message
De
23/01/2013 11:07:36
 
 
À
17/01/2013 15:18:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01418664
Message ID:
01563818
Vues:
78
Hi Rick.

>The LIST MEMORY command you are using does not list the full contents of all memory variables. Using SAVE TO will store the full strings. It may prevent the buffer overrun error you are getting, and can be restored and parsed later to see the full set of variables at the time of the crash.

I hadn't thought of using SAVE TO in an error handler. It *is* a pain that LIST MEMORY cuts off the value of string variables. So, I tried it and found one deal-breaking flaw: while LIST MEMORY lists all memory variables, SAVE TO only lists those currently in scope (IOW, in the error handler itself). So, it doesn't really work in an error handling situation.

Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform