发明名称 Debugger apparatus and method for indicating time-correlated position of threads in a multi-threaded computer program
摘要 A debugger inserts instrumentation hooks in a multi-threaded computer program that allow collecting a program trace and that provide timestamps that correspond to the program trace. When a breakpoint in a first thread is encountered, a timestamp corresponding to the breakpoint is retrieved. Execution of the other threads may continue until the debugger is able to halt their execution. Once the execution of all threads has been halted, the program trace for each thread is traced backwards to a point where the timestamp is less than the breakpoint timestamp. Instructions are then executed, one by one, until the execution time of the instructions plus the timestamp is approximately the same as the breakpoint timestamp. The instruction in the program trace display is then highlighted to indicate the instruction that was likely being executed when the breakpoint in the first thread is encountered.
申请公布号 US2007168968(A1) 申请公布日期 2007.07.19
申请号 US20050266737 申请日期 2005.11.03
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 BATES CARY L.;SANTOSUOSSO JOHN M.
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址