About Monitoring .NET Managed Code

Related Topics

You can use PureCoverage to monitor the coverage of .NET managed code programs. You can run .NET managed code programs:

§          from Visual Studio

§          from the PureCoverage standalone interface

§          from the command line

With PureCoverage's PowerCov options (click Settings in the Run Program dialog box), you can choose whether to monitor the coverage of modules at line level or function level, or to exclude modules.

PureCoverage uses debug data to collect line-by-line coverage data. If debug data is not available for a module, PureCoverage excludes the module. For most .NET languages, you can generate debug data by compiling with the /debug switch. Refer to your compiler documentation for information.

Use PureCoverage's windows and tools to analyze program coverage. For example, while a program is running, you can monitor the status of its coverage, or pause and resume data recording. After you exit the program, you can filter out non-critical functions.

Notes:

§      For managed code programs, PureCoverage uses Byte Code Insertion (BCI) technology to dynamically instrument the files in memory, and does not save or store the instrumented files in its cache directory.

§      For information about the recommended settings for Visual Studio .NET, Visual Studio 2005 and Visual Studio 2008, click images\shortcut.gif.

(C) Copyright IBM Corporation 1993, 2010.