摘要 |
A method for debugging a software program using a hardware break, the software program being executed on an information processing device including a processing unit and storage means writable and readable by the processing unit, the method includes: setting a hardware breakpoint in a hardware breakpoint table, the hardware breakpoint table being stored in the storage means and intended to store a plurality of hardware breakpoints; determining a hardware breakpoint to be set next, on the basis of a hardware breakpoint stored in the hardware breakpoint table and the value of a program counter of the processing unit executing the software program to be debugged; storing the determined hardware breakpoint in a hardware break setting register, the hardware break setting register being provided inside the information processing device and used to set a hardware breakpoint; and debugging a software program using the hardware breakpoint table. |