发明名称 Integrated debugger and code coverage tool
摘要 A method, information processing system, and computer program product integrate a code coverage tool with a debugger. A debugging process is performed on a set of source code for an application program. A set of code coverage information associated with the set of source code is analyzed with respect to a set of debugging information. The set of code coverage information at least identifies a set of instructions that has been executed. A set of source code lines in the set of source code that correspond to the set of instructions that has been executed is identified based on the analyzing. A user is notified through a user interface that the set of instructions associated with the identified set of source code have been executed.
申请公布号 US8776025(B2) 申请公布日期 2014.07.08
申请号 US201113289157 申请日期 2011.11.04
申请人 International Business Machines Corporation 发明人 Wisniewski Joshua B.
分类号 G06F9/44 主分类号 G06F9/44
代理机构 Fleit Gibbons Gutman Bongini & Bianco PL 代理人 Fleit Gibbons Gutman Bongini & Bianco PL ;Gutman Jose
主权项 1. A method with a processor of an information processing system, the method comprising: using debug information provided by a compiler, performing a session of operation of a debugger tool on a set of source code for an application program, the debugger tool having a debugger user interface; during the session of operation of the debugger tool, operating a code coverage tool, wherein the code coverage tool determines code coverage for the set of source code by: generating code coverage information by a code coverage collection process operating on the set of source code during the session of operation of the debugger tool, analyzing the code coverage information with respect to the debug information, wherein the code coverage information at least identifies a set of instructions that has been executed during the session of operation of the debugger tool, and identifying, based on the analyzing, source code lines in the set of source code, wherein the source code lines correspond to the set of instructions that has been executed; and executing at least one instruction associated with the set of source code; updating the code coverage information to indicate that the at least one instruction has been executed in a normal process of code coverage collection; and visually displaying, in the debugger user interface, the identified source code lines.
地址 Armonk NY US