CODECOVERAGELOG Function
Starts and stops the logging of code. You can also use this function to retrieve the current logging status.
[IsActive :=] CODECOVERAGELOG([NewIsActive])
Parameters
- NewIsActive
-
Type: Boolean
This function is not supported in the RoleTailored client.
You must only start the Code Coverage tool from the command prompt when you want to get a total overview of the code used when running Microsoft Dynamics NAV or when you are testing the application.
To start Microsoft Dynamics NAV with the Code Coverage tool on, enter the following command:
fin COVERAGELOG
To start Microsoft Dynamics NAV with the Code Coverage tool on and to log the results in file xx.xx, enter the following command:
fin COVERAGELOG, COVERAGEFILENAME=xx.xx
To start Microsoft Dynamics NAV with the Code Coverage tool set to off and to load an existing result from file xx.xx, enter the following command:
fin COVERAGEFILENAME=xx.xx.
Running the Code Coverage tool for this purpose will generate a very large log file.