摘要 |
A debugger for a microprocessor, includes an instruction substituting circuit for tracing a memory access performed by the microprocessor and for substituting a predetermined branch instruction for an instruction which is read out from a predetermined address by the microprocessor; A background monitor is configured to give the microprocessor a memory space which is separated from the user space and is unique to the debugger. After the predetermined branch instruction has been substituted and after a break acknowledge signal indicating that an execution of the predetermined branch instruction has been activated, the debugger executes a program stored in the background monitor, and supplies a cache clear signal to the cache clear terminal at the start and end of the program in the background monitor. |