
Chapter 3 Advanced Use of ID78K0 3.1 Verifying the Validity of Evaluation
66
3.1 Verifying the Validity of Evaluation
Evaluation is essential to the development of a program. If the evaluation of a particularly
important item is omitted for some reason, bugs may remain in a program that is offered for retail
sale.
This section describes the use of the coverage functions to verify the validity of evaluation.
Note, however, that the validity of evaluation cannot be completely verified based on only the
results of coverage.
3.1.1 Coverage
Coverage is a record of the flow of the execution of a program. While the tracer can trace
program execution backwards, coverage merely indicates whether specified instructions within a
program have actually been executed.
The debugger supports coverage for the read, write, and fetch operations.
The results of coverage can be displayed in the Coverage window.
The following window and dialog boxes are used for coverage:
Window
Description
Coverage window
Coverage Efficiency View
dialog box
Coverage Condition Setting
dialog box
Coverage Memory Clear
dialog box
Displays the results of coverage.
Displays the coverage results, as a percentage, for each function
or specified address range.
Used to add items to be displayed in the Coverage Efficiency
View dialog box.
Initializes the coverage memory.
Coverage window
Coverage Efficiency View
dialog box
Coverage Memory Clear dialog box
Coverage Condition Setting
dialog box