I'm trying to use set coverage to in a scx. But I don't get anything and no error. The appplication is compiled using VFP 6 SP5 and only VPF6 runtimes files are installed.
I wonder whether set coverage to requires coverage.app installed.
Yes it does require the coverage app. There is no magic here, you've got to provide this code for it to do it's thing. You'll need to make sure you have the system variable _COVERAGE set to the coverage app - the runtime normally doesn't have a value for this. You can set in in your CONFIG.FPW or in your program. Remember you'll need a lot of disk space if you plan on letting this run for very long.
_coverage = "c:\test\coverage.app"
* put the next file name in quotes
* if you have any embedded spaces in the path
set coverage to c:\test\mylog
...
set coverage to
Are you sure no log file is being generated? I think VFP adds the extension .LOG to the file, so it will be named MyLog.Log, not Mylog (but I'm not sure about that).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.