Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Allowed Do nesting level exceeded - debugging
Message
 
 
To
10/10/2001 11:01:54
Leshel Rich
Plains Cotton Coop Assoc
Lubbock, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00566435
Message ID:
00566437
Views:
11
>I have a VFP program that is giving me this "Allowed Do nesting level exceeded" error at runtime. I am having a terrible time figuring out where in the 3500 lines of code it is hanging up. I have put wait windows in and narowed it down, but I am stuck now. I did not write this code and I am just learning VFP. Does anyone have any suggestions on an efficient way to debug this thing?

VFP allows for 128 levels of program stack execution. Look for functions that call themselves (recursion). This is usually the problem.

You can also use the Covergae Profiler to track this down. At the beginning of your code add the line:

Set Coverage to MyApplication.Log

The log file will be built as each line of code executes. When the program crashes, you can take a look at the output using the Coverage Profiler and see what method/procedure is causing the problem.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform