摘要 |
PROBLEM TO BE SOLVED: To provide a trace device capable of preventing the loss of trace information to be important for debugging of software. SOLUTION: A comparator 22a generates an event A when the value of the PC 11 of a CPU 1 is matched to a target address set in a target address resistor 21. When trace is performed in a real-time trace mode in an initial state, an RS-FF 37 is set by the generation of the event A, and the trace is then performed in a full-trace mode. Accordingly, by setting the starting address of a sub-routine to be debugged in the target address resistor 21a, the trace mode is changed to the full-trace mode when the CPU 1 executes the sub-routine, and the loss of trace information importance for debugging of software can be prevented. COPYRIGHT: (C)2004,JPO
|