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
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 19.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
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 automatically identifying at least one potential breakpoint location in a code path in the computer program based upon a frequency of execution of the code path as identified in the profile data.
- Claim 2Depends on #1
The computer implemented method of claim 1 , further comprising indicating to a user that a breakpoint can be set, wherein the breakpoint is set at the identified breakpoint location.
- Claim 3Depends on #1
The computer implemented method of claim 1 , further comprising displaying to a user a display representation of an option to set a breakpoint upon entry of at least one infrequently executed code path or frequentl
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 19 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (2)
- "control flow graph", 2006 Answers Corporation (1996) web pages downloaded on Jul. 24, 2006 from www.answers.com/topic/control-flow-graph, 4 pages.
- Duesterwald et al., "Software profiling for hot path prediction: less is more," A.C.M., 2000.