Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on Coverage
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00708973
Message ID:
00709023
Views:
18
Have a go at the Coverage Profiler.

Get to the place in your program where you are just about ready to begin executing the code you want to track and then either suspend your program and execute the following command:

SET COVERAGE TO CoverageLogFileName

resume your program and then launch the form you want to track. As you are clicking around the form VFP is tracking exactly which code is being executed and storing the exeucted lines in the file provided above.

Once you have completed investigating the form you are interested in get out of your application and go to the Tools | Coverage Profiler and open the .LOG file that VFP just created for you. Using the Coverage Profiler form you can reveil all kinds of information about the code that just ran and how long each took.

You can also open the .LOG file manually and examine it.

You might want to read the help file on the Coverage Profiler as it's functionality is too much to detail here.

Hope this helps,

CTBlankenship
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform