首页>
外国专利>
Debugger system, method and computer program product for utilizing hardware breakpoints for debugging instructions
Debugger system, method and computer program product for utilizing hardware breakpoints for debugging instructions
展开▼
机译:利用硬件断点来调试指令的调试器系统,方法和计算机程序产品
展开▼
页面导航
摘要
著录项
相似文献
摘要
Debugger system, method and computer program product for debugging instructions. The method for debugging instructions may include: receiving, by a debugger module, a group of instructions that are stored in a non-volatile memory module and is scheduled to be executed by a processor of a device; determining whether the group of instructions includes a conditional branch instruction; defining, by the debugger module, a hardware breakpoint address as an address of the conditional branch instruction if the group of instructions includes the conditional branch instruction; defining, by the debugger module, the hardware breakpoint as an address of a last instruction of the group of instructions to be executed if the group of instructions does not comprise the conditional branch instruction; instructing a hardware breakpoint detector of the device to detect the hardware breakpoint address; instructing the processor to execute instructions of the group of instructions in a continuous mode until the hardware breakpoint detector detects the hardware breakpoint address; instructing the processor to execute at least one instruction of the group of instructions in a single step mode after the hardware breakpoint detector detects the hardware breakpoint address; and receiving, from the device, debug information that is indicative of an execution of instructions by the processor.
展开▼