Identifying a Potential Breakpoint Location in a Code Path in a Computer Program Based Upon the Frequency of Execution of the Code Path as Identified in Collected Profile Data
AssigneeInternational Business Machines Corporation
InventorsCary Lee Bates, Mark Douglas Schroeder
Life of this patent
Estimating the term…
Abstract
An apparatus, program product and method identify a potential breakpoint location in a code path in a computer program based upon the frequency of execution of the code path as identified in collected profile data. By doing so, a potential breakpoint location may be identified for an infrequently executed code path and/or a frequently executed code path, and a breakpoint may be set at the identified breakpoint location. As such, breakpoints may be set in locations that may be more likely to assist a user in debugging the computer program and may result in more efficient debugging.
Claims25
A computer-implemented method of debugging a computer program, the computer-implemented method comprising:
- collecting profile data for a computer program to identify frequencies of execution for a plurality of code paths in the computer program;
- and
- identifying at least one potential breakpoint location in a code path in the computer program based upon the frequency of execution of the code path as identified in the profile data.
An apparatus, comprising:
- a processor;
- a memory;
- and
- program code configured to debug a computer program by collecting profile data for a computer program to identify frequencies of execution for a plurality of code paths in the computer program and identifying at least one potential breakpoint location in a code path in the computer program based upon the frequency of execution of the code path as identified in the profile data.
A program product, comprising:
- program code configured to debug a computer program by collecting profile data for a computer program to identify frequencies of execution for a plurality of code paths in the computer program and identifying at least one potential breakpoint location in a code path in the computer program based upon the frequency of execution of the code path as identified in the profile data;
- and
- a computer readable medium bearing the program code.
Dependencies are inferred from the claim text.