Flushing coverage data for display in the Coverage Details views

When you flush coverage data, you transfer the data that is being collected to a profiling resource so that it can be displayed in the coverage views. Flushing is performed automatically, but under certain circumstances an additional flush configuration is required. If the Annotated Source and Coverage Monitor views report No data available for display after you have collected coverage data for lines and methods, configure a flush of the coverage data to transfer it to the profiling resource during subsequent runs.

Prerequisite: Getting started: Creating a profiling configuration for runtime problem determination
To configure flushes of coverage data:
  1. In the Profiling tab, Overview subtab, select the Code Coverage - Method and Line Level profiling set.
  2. Click Edit, then Next.
  3. Select the Flush coverage data when any of the following methods run check box.
  4. Click Add.
  5. In the Method Event and Pattern Editor dialog box, choose whether the event that triggers the flush should be an entry or an exit.
  6. Enter names or patterns to define at least one method in your application that you know is called when you collect coverage data.
  7. Click Create , and then, in the Edit Profiling Set dialog box, click Finish.
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.