1. Open the Executable Settings dialog box, or click Settings in the Run Program dialog box.
2. Select the PowerCov tab.
3. Select whether to use Line or Function as the default coverage level, each time you run the selected program.
Note:
The PowerCov tab displays either the fields for native-compiled (unmanaged) code or the fields for Java and .NET managed code, depending on the executable for which you are making settings.
4. For native-compiled code, select the instrumentation mode you want to use each time you run the selected program:
§ Select All Modules to perform inclusive instrumentation.
1. Select whether to exclude all modules in the Windows directories, each time you run the selected program. By default, PureCoverage excludes these modules instead of using the specified default coverage level, to improve instrumentation and run-time performance of the program during monitoring.
2. Click the Configure... button following All Modules to specify how to record data for specific modules, each time you run the selected program.
§ Select Selected Modules to perform selective instrumentation, then click the associated Configure... button to specify the modules to instrument.
5. For Java and .NET managed code, inclusive instrumentation is the default. To use selective instrumentation for Java/Managed, click Configure... to specify the classes you want to profile.
Notes:
§ PureCoverage uses debug line information to collect line-by-line coverage data. If this debug data is not available for a module, PureCoverage excludes that module.
§ For native-compiled (unmanaged) programs, PureCoverage also requires relocation data to collect data at line or function level. If relocation data is not available for a module, PureCoverage excludes the module.
§ By default, PureCoverage excludes certain modules in the Windows directories. Some of these modules, known as system modules, are always excluded and you cannot change their coverage levels.
§ For changes to the coverage level to take effect, you must rerun the program.
§ PureCoverage saves settings for the current program in the <exename>_pure.ini file. These settings apply each time you run the selected program, until you change a setting. To set default settings that apply to all programs, use the Default Settings dialog box.
(C) Copyright IBM Corporation 1993, 2010.