Software debugging system and method

The invention relates to the computer software engineering field and specifically discloses a software debugging system and method. The software debugging system serves as a debugging tool based on the embedded system software and outputs rich debugging information to a debugging host by means of a GPIO (General Purpose Input/Output) simulative general bus interface on a debugging object machine through debugging an agent device; therefore, the debugging efficiency is improved and simple and convenient breakpoint debugging is also realized; and as a result, the software debugging flexibility is improved.