摘要 |
PROBLEM TO BE SOLVED: To recognize the processing sequence of the function ID of a source program or tasks to managed by an OS by suppressing the complication of a circuit attributable to a trace condition setting circuit or an increase in the physical scale of a trace memory. SOLUTION: Under trace control, when the function ID of a source program corresponding to the instruction address of an object program to be executed by a microcomputer (2) is changed, control is performed so that the changed function ID is stored in the trace memory (5). Under the management of an OS, the task ID of the task to be processed by the microcomputer is monitored, and when the task ID is changed, control is performed so that the changed task ID is stored in the trace memory. Thus, the changed function ID or the task ID are successively stored in the trace memory, so that it is possible to easily recognize the processing sequence of the function ID of the source program executed by the microcomputer and the processing sequence of the task ID executed by the microcomputer from the trace result. COPYRIGHT: (C)2009,JPO&INPIT
|