发明名称 Processor implemented systems and methods for reversible debugging using a replicate process system call
摘要 Systems and methods are provided for debugging program code. Program code is executed in a process. Clone processes of the process are generated at predetermined time intervals to capture states of execution of the program code at the predetermined time intervals. State data is extracted from the clone processes to generate snapshots of execution of the program code at the predetermined time intervals. A display of the snapshots is provided for debugging the program code, where the snapshots include the extracted state data from the clone processes generated at the predetermined time.
申请公布号 US9201762(B1) 申请公布日期 2015.12.01
申请号 US201113091491 申请日期 2011.04.21
申请人 MARVELL INTERNATIONAL LTD. 发明人 Chen Xiaoyan
分类号 G06F9/44;G06F11/36 主分类号 G06F9/44
代理机构 代理人
主权项 1. A computer-implemented method of debugging program code, the computer-implemented method comprising: executing program code in a process using one or more data processors; generating clone processes of the process at predetermined time intervals to capture states of execution of the program code at the predetermined time intervals using the one or more data processors; extracting state data from the clone processes to generate snapshots of execution of the program code at the predetermined time intervals using the one or more data processors; and providing a display of the snapshots for debugging the program code using the one or more data processors, the snapshots including the extracted state data from the clone processes generated at the predetermined time intervals, the display being configured to display extracted state data associated with a particular snapshot of a particular clone process, the display including a control for viewing state data at a preceding event that occurred between a previous clone process and the particular clone process; upon receiving an interaction with the control, displaying state data at the preceding event by: locating the previous clone process that is associated with a time before the preceding event;executing the located previous clone process until occurrence of the preceding event;extracting and displaying preceding event state data based on the executed previous clone process.
地址 Hamilton BM