Object-oriented creation breakpoints
Abstract
A computer system, program product and method debug an object-oriented computer program by tracking the creation of objects by a plurality of creators (e.g., constructor methods) of a selected class. A user need not separately track each creator. Instead, a debugger identifies each creator and associates breakpoints with all or a user-specified subset of creators to facilitate tracking. Any of the breakpoints may then trigger a halting of execution during debugging. Moreover, in some instances it may be desirable to track the number of creations by all or the subset of the creators for the selected class during program execution until a user-specified condition is satisfied, whereupon program execution is terminated and debugging information is provided to the user.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 33 · Forward citations: 6.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A computer-implemented method of debugging an object-oriented computer program, the method comprising: (a) tracking a number of object creations of a class defined in the object-oriented computer program during debugging, wherein the tracked number of object creations includes object creations resulting from multiple creators for the class; and (b) halting execution of the object-oriented computer program in response to the number of object creations meeting a condition.
- Claim 2Depends on #1
The method of claim 1 , wherein the condition is the number of object creations meeting or exceeding a threshold.
- Claim 3Depends on #1
The method of claim 1 , wherein tracking the number of object creations includes incrementing a counter in response to hitting any of a plurality of breakpoints set on a plurality of creators for the class.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (33)
Non-Patent Literature (5)
- "Breakpoint", "Inheritance", "Interface" and "Object-Oriented Programming", FOLDOC downloads from Jul. 9, 2001, http://foldoc.doc.ic.ac.uk/foldoc/foldoc.cgi?, 4 pages.
- "Breakpoints and breakpoint detection in source-level emulation", Koch et al., Apr. 1998, pp. 209-230. Online retrieved at .
- "Practicing JUDO: Java under dynamic optimizations", Cierniak et al., Aug. 2000. pp. 13-26. Online retrieved at .
- "Transformations for model checking distributed Java programs", Stoller et al., May 2001, pp. 192-199. Online retrieved at .
- Montlick, Terry, "What is Object-Oriented Software?", Software Design Consultants, LLC, (1995-1999) downloaded Jul. 9, 2001, http://catalog.com/softinfo/objects.html, pp. 1-7.