摘要 |
PURPOSE:To facilitate investigation of the cause of generation of an infinite loop by setting in advance an instruction sequence of a known infinite loop to a first register group, shifting an instruction group which is read out in the course of executing a program, to a second register group, and collating the contents of both the register groups. CONSTITUTION:At the time of tracing a program execution history, when it is fallen into an infinite loop once, the instruction sequence of a one-cycle portion of this infinite loop can be known easily from the contents of a trace memory. Therefore, about the one-cycle portion of the known instruction sequence is set in advance to the first register groups 11a-11n. Also, while shifting an instruction group which is read out in the course of executing a program, to the second register groups 12a-12n which is cascaded, the contents of both the register groups are collated at every stage. In such a way, by detecting an appearance of the sequence of the infinite loop and inhibiting the trace, history information immediately before the generation of the infinite loop can be collected surely.
|