An embedded debugging method and apparatus, and a
system. The method comprises: pre-configuring trigger information, the trigger information comprising a trigger
data type, comparison content, and a trigger condition; on the basis of the pre-configured trigger
data type, monitoring, by means of an
information monitoring module, information received or sent by a processor and / or another
functional module; by means of a comparison module, comparing the monitored corresponding information with the preset comparison content; and when the comparison result satisfies the preset trigger condition, performing corresponding
processing. By using a real-time monitoring method, on the basis of triggering a preset trigger condition, corresponding information is stored or an interrupt
signal is generated when the preset trigger condition is met, thereby quickly locating a program address of a related problem during debugging, achieving the purpose of high-efficiency debugging, or storing a related program address, achieving the purpose of
software testing for a corresponding program, or storing related
time information and testing time performance of a corresponding program, achieving the purpose of quickly optimizing the program.