Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coverage profiler not creating a file
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00586624
Message ID:
00586667
Views:
27
This message has been marked as the solution to the initial question of the thread.
>It's been awhile since I used it, but for some odd reason, I can't get my app to generate a coverage profiler file. I'm sure it's probably something super simple I've overlooked. I have nothing in my config.fpw, nor is it included in any EXE.
>
>Here's what I've got in my form.load event:
>
>set coverage to c:\mjb\MyPROFILER.log
>< all my open/use statements in here >
>set coverage to && close the profiler
>
>Yet, no file is produced! Any ideas?
>
>TIA,


Michael,
Are tyou running this in your EXE? SET COVERAGE is ignored in the run-time. It is only available in the developement environment.

If you want something for your EXE, you could add a series of SECONDS() calls and output them to a file using STRTOFILE().

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

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

Click here to load this message in the networking platform