Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you handle run-time errors
Message
 
 
À
15/03/2006 10:54:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01104502
Message ID:
01104526
Vues:
21
>>>>I'd like to incorporate gathering local vars and local parameters in each procedure.
>>>
>>>DISPLAY MEMORY simply does it ;-)
>>>
>>
>>I don't think so. I have these two procedures in our common utility, but it didn't return useful info. I believe it was not returning parameters in the procedure what caused the error.
>
>I use DISPLAY MEMORY without LIKE clause.
>I just check "Generate error in call stack" button on the test form and I see that NLEVEL parameter is reported for each level of call stack

Is nLevel local variable? AFAIK, LIKE clause in Display Memory somehow reduces the scope and doesn't report local vars in all procedures. I don't like DISPLAY MEMORY without additional clauses, because it gives too much <g>
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform