Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you handle run-time errors
Message
 
 
To
15/03/2006 10:54:32
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01104502
Message ID:
01104526
Views:
19
>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform