The present disclosure discloses a process hard interrupt method and related device, a
breakpoint address is written in advance in a
process control block of the process, the hard interrupt method comprises: when the process is scheduled to a running state, obtaining the
breakpoint address from the
process control block; writing the obtained
breakpoint address into an emptied debug address register, so that a debug unit executes a hard interrupt based on the breakpoint address stored in the debug address register during running of the process. The present disclosure enables the processor to execute the hard interrupt on the
single process even if the scontext is not set in the debug unit.