摘要 |
PURPOSE:To execute a debug processing such as setting a collection data of debug information, and the like, at an optional executing position, without executing reprogramming in order to debug a program to be debugged. CONSTITUTION:Execution of a program to be debugged 2 is discontinued, a point to be debugged BP is designated, and a debug monitor 1 is started. In a debug control part 1-1, an address of a designated BP is registered on an address table 3 in a work area 1-3. Subsequently, an executing instruction being at the BP is shunted to an entry of the address registration table 3, in which an instruction to be linked with the debug monitor 1 is embedded, and the progrma to be debugged 2 is started. After than, when the operation is continued so as to return it to its original state, it is unnecessary to modify a program to be debugged, for the purpose of debugging, and the program to be debugged is not varied even after the debug has been executed. |