发明名称 Distributed debugging
摘要 In an embodiment, a first debug agent at a first computer receives a packet. The first debug agent adds a debug command and an identifier of the first debug agent to the packet and sends the packet to a receiving computer. A second debug agent at the receiving computer removes the debug command and the identifier of the first debug agent from the packet and sends the packet to a second program that executes at the receiving computer. The second debug agent further executes the debug command, which causes the second program that executes on the receiving computer to halt execution at a breakpoint or address watch memory location. The second debug agent sends the state of the second program to the first debug agent, which presents, at the first computer, the state and a listing of the second program.
申请公布号 US8856742(B2) 申请公布日期 2014.10.07
申请号 US201012813788 申请日期 2010.06.11
申请人 International Business Machines Corporation 发明人 Branda Steven J.;Newport William T.;Stecher John J.;Wisniewski Robert
分类号 G06F9/44;G06F11/36 主分类号 G06F9/44
代理机构 代理人 Gamon Owen J.;Kehe Kevin D.
主权项 1. A method comprising: receiving a packet at a first debug agent from a first program at a first computer; adding a debug command, a processing node identifier, and an identifier of the first debug agent to the packet; sending the packet that comprises the debug command, the processing node identifier, and the identifier of the first debug agent to a destination computer, wherein a second debug agent at the destination computer removes the debug command, the processing node identifier, and the identifier of the first debug agent from the packet and sends the packet to a second program that executes at the destination computer, wherein the second debug agent executes the debug command if a destination node identifier that identifies the destination computer matches the processing node identifier, wherein the second debug agent does not execute the debug command if the destination node identifier does not match the processing node identifier; in response to a request from the second program to send the packet to a receiving computer, the second debug agent adds the debug command, the processing node identifier, and the identifier of the first debug agent back to the packet and sends the packet to the receiving computer, wherein a third debug agent at the receiving computer sends the packet to a third program that executes at the receiving computer, wherein the third debug agent executes the debug command if a receiving node identifier that identifies the receiving computer matches the processing node identifier in the packet, wherein the execute of the debug command causes the third program to halt execution, wherein the third debug agent does not execute the debug command if the receiving node identifier that identifies the receiving computer does not match the processing node identifier in the packet; receiving, at the first debug agent at the first computer, a state of the third program and an identifier of the third program that is halted; and presenting, at the first computer, the state of the third program and a program listing of the third program.
地址 Armonk NY US