A system LSI which is capable of precisely acquiring the status of a
module which is referred to as a resource for debugging when a
high-performance processor debugs a processing program executed by a
small-scale processor. A function unit has a bus interface connected to a
bus and a data processing unit. The function unit is controlled in
accordance with a processing program. The processing program is debugged
in accordance with a debug program. Functioning of the data processing
unit is halted. The function unit control processor suspends execution of
the processing program to assert a debug signal when the processing
program satisfies a predetermined condition. The halting unit halts
functioning of the data processing unit without halting the bus interface
in the function unit when the debug signal becomes asserted. The
debugging processor acquires a status of the data processing unit when
the debugging processor detecting that the debug signal is asserted.