Compartir a través de


SET COVERAGE Command

Turns code coverage on or off, or specifies a text file to which code coverage information is directed.

SET COVERAGE TO [FileName [ADDITIVE]]

Parameters

  • TO FileName
    Specifies the name of a text file to which code coverage information is directed. Issue SET COVERAGE TO without a file name to close the text file.

    If the file you specify doesn't exist, Visual FoxPro automatically creates and opens it.

  • ADDITIVE
    Appends the code coverage information to the end of the text file specified with FileName. If you omit ADDITIVE, the code coverage information replaces the contents of the text file.

Remarks

You can also set code coverage options in the Coverage dialog box online topic.

For more information about the Visual FoxPro Coverage Profiler, see Coverage Profiler Application.

See Also

_COVERAGE, | SET EVENTTRACKING | Coverage dialog box | Coverage Profiler Application