Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 Tip-o-the-day Coverage/Profiling
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
VFP6 Tip-o-the-day Coverage/Profiling
Miscellaneous
Thread ID:
00123673
Message ID:
00123673
Views:
56
Folks,

You may or may not know that in VFP5 there is what is called coverage analysis, although that is its name it is really code profiling. Coverage tells what lines of code have been executed and what lines have not. Profiling tells how long the lines that executed took.

VFP6 has both coverage (the correct one) and profiling available from the Coverage Profiler on the Tools menu. You create a coverage log through the debugger and then open that log in the coverage profiler.

The profiler shows your source code with informaiton at the beginning of each line telling you the first execution speed and the average speed. It also flags lines of code that were never executed leting you know that code has not been tested.
Reply
Map
View

Click here to load this message in the networking platform