The embodiment of the invention provides a
software debugging method and device,
electronic equipment and a readable medium, and relates to the technical field of computers, in the method, based on a current instruction of debugged
software, a target instruction corresponding to a next instruction address of the current instruction is determined. And replacing the target instruction with the
breakpoint instruction, and after the current instruction is executed, executing the
breakpoint instruction to trigger
breakpoint abnormity. And in response to the breakpoint exception, pausing the execution operation on the debugged
software. And displaying a debugging
interaction interface corresponding to the debugged software. Therefore, after the current instruction is executed, the execution operation on the debugged software can be paused, and the debugging
interaction interface is displayed, so that single-step debugging on the debugged software is realized. When the scheme is used, aiming at the debugged software adaptive to different processor architectures, the breakpoint instruction supported by the architecture adaptive to the debugged software is adopted, so that single-step debugging aiming at the debugged software can be realized, and the universality of the
software debugging method is ensured.