Program debugging method and device, electronic equipment and storage medium
The embodiment of the invention provides a program debugging method and device, electronic equipment and a storage medium, in the method, a running address of a to-be-tested instruction is written into a monitoring register through a monitoring process, a debugged process of a target program is cont...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention provides a program debugging method and device, electronic equipment and a storage medium, in the method, a running address of a to-be-tested instruction is written into a monitoring register through a monitoring process, a debugged process of a target program is controlled to execute the to-be-tested instruction, and the to-be-tested instruction belongs to an instruction set executable by the target program. After the debugged process executes the to-be-tested instruction, a specified register in the user state registers corresponding to the target program is detected through the monitoring process so as to debug the target program, and the specified register corresponds to the to-be-tested instruction executed this time. In this way, whether the code part used for executing the to-be-tested instruction in the target program has a problem or not can be conveniently determined, and therefore the problem of the target program can be accurately positioned to a certain extent.
本发明 |
---|