Patent US5896536A successfully refreshed from Google Patents.
← Back to Patent Explorer
US5896536A Expired / Lapsed US ⏱️ 0.0 years remaining

Data triggered trace support for debugging object oriented programs

Assignee: International Business Machines Corp
•
Filing: 1996-05-01
•
Granted: 1999-04-20
•
Expires: 2016-05-01
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A technique for permitting tracepoints to be set relative to data components of object oriented programs for debugging purposes is disclosed. A new method is created or an existing method is modified in an object which contains data relative to which tracing is desired. The new or modified method intercepts a message intended to access the designated data, and depending on the type of access being attempted and/or other conditions set by the developer, tracing may be initiated, modified, or terminated. Tracing is controlled by forwarding an appropriate message to a trace manager. The read or write operation is preserved by the newly created access method, which performs the desired access of the data component.

Inventors

  • 👤 Anthony Hayden Lindsey

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-09 18:28
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/36; G06F11/362; G06F11/3636

Claims Analysis

Total Claims: 17
Claim 1
Independent Claim 105 words
Computer readable code stored on media for execution on a processor in a data processing environment for enabling gathering of trace information during debugging of an object oriented program based upon access to a data component of the object oriented program, comprising: first subprocesses for permitting a user to designate a data component of said object oriented program relative to which an access thereto by an element of the object oriented program during execution thereof is desired to initiate collection of trace information; and second subprocesses for initiating collection of trace information triggered by the sending of a message is access the designated data component.
Claim 2
Dependent Claim 105 words
Computer readable code stored on media for execution on a processor in a data processing environment for enabling gathering of trace information during debugging of an object oriented program based upon access to a data component of the object oriented program, comprising: first subprocesses for permitting a user to designate a data component of said object oriented program relative to which an access thereto by an element of the object oriented program during execution thereof is desired to initiate collection of trace information; and second subprocesses for initiating collection of trace information triggered by the sending of a message is access the designated data component.
Claim 3
Dependent Claim 33 words
Computer readable code according to claim 1, wherein said first subprocesses further permit a user to designate parameters for controlling the collection of trace information based upon accesses to the designated data component.
Claim 4
Dependent Claim 44 words
Computer readable code according to claim 2, wherein one of the parameters is an event upon which collection of trace information will terminate, said computer readable code further comprising third subprocesses for ceasing the collection of trace information upon occurrence of the termination event.
Claim 5
Dependent Claim 48 words
Computer readable code according to claim 1, wherein said first subprocesses further comprise creating at least one access method for the designated data component and replacing all direct references to the designated data component within methods of said object oriented program with message sends to the access method.
Claim 6
Dependent Claim 17 words
Computer readable code according to claim 4, wherein the access method controls the gathering of trace information.
Claim 7
Dependent Claim 27 words
Computer readable code according to claim 4, wherein the access method initiates the collection of trace information after receiving a message to access the designated data component.
Claim 8
Dependent Claim 47 words
Computer readable code according to claim 6, further comprising: fourth subprocesses for causing the access method to perform a requested access function after receiving an access message; and fifth subprocesses for modifying the collection of trace data after the access method has performed the requested access function.
Claim 9
Dependent Claim 24 words
Computer readable code according to claim 1, wherein the designated data component is an instance variable of an object of the object oriented program.
Claim 10
Dependent Claim 69 words
Computer readable code according to claim 1, wherein said first subprocesses create a read tracepoint access method and a write access tracepoint method, and all read attempts for the designated data component generated by the object oriented program are sent to the read tracepoint access method and all write attempts for the designated data component generated by the object oriented program are sent to the write tracepoint access method.
Claim 11
Dependent Claim 87 words
In a computing environment including at least a processor and memory, a system for causing trace data to be collected based upon accessing a data component of an object oriented program undergoing debugging, comprising: means for designating at least one data component of the object oriented program for which an attempt to access the data component is desired to initiate collection of trace data; and means for triggering the collection of trace data when the designated data component is accessed during execution of the object oriented program.
Claim 12
Dependent Claim 87 words
In a computing environment including at least a processor and memory, a system for causing trace data to be collected based upon accessing a data component of an object oriented program undergoing debugging, comprising: means for designating at least one data component of the object oriented program for which an attempt to access the data component is desired to initiate collection of trace data; and means for triggering the collection of trace data when the designated data component is accessed during execution of the object oriented program.
Claim 13
Dependent Claim 24 words
In a computing environment, a system for causing trace data to be collected according to claim 10, further comprising means for designating tracing parameters.
Claim 14
Independent Claim 79 words
A method for collecting trace data when a data component of an object oriented program undergoing debugging is accessed, comprising the steps of: designating a data component of the object oriented program for which an access attempt will affect tracing; creating at least one access method through which access attempts for the designated data component will be routed during debugging; and triggering collection of trace data when the access method receives an access attempt for the designated data component.
Claim 15
Independent Claim 79 words
A method for collecting trace data when a data component of an object oriented program undergoing debugging is accessed, comprising the steps of: designating a data component of the object oriented program for which an access attempt will affect tracing; creating at least one access method through which access attempts for the designated data component will be routed during debugging; and triggering collection of trace data when the access method receives an access attempt for the designated data component.
Claim 16
Dependent Claim 46 words
A method for collecting trace data according to claim 12, wherein said creating step creates a read access method for receiving all read access requests for the designated data component and a write access method for receiving all write access requests for the designated data component.
Claim 17
Dependent Claim 43 words
A method for collecting trace data according to claim 12, further comprising the steps of: accessing the designated data component after the access method receives the access attempt; and modifying the collection of trace data after the designated data component has been accessed.

References Cited (Backward Citations)

US4885717A Cited
US5093914A Cited
US5408650A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2002-04-19 2002-10-19 2003-04-20 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2006-04-19 2006-10-19 2007-04-20 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2010-04-19 2010-10-19 2011-04-20 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag