Method and system for associating related errors in a computer system
First Claim
1. A method in a computer system for associating an error reported by a first program with an error reported by a second program that calls the first program, the method comprising the steps of:
- under the control of the second program;
calling the first program;
under the control of the first program;
detecting the occurrence of an error, andgenerating a first error report containing information describing the error detected under the control of the first program, the first error report being associated with a first error report identifier;
under the control of the second program;
detecting the occurrence of an error, andgenerating a second error report containing information describing the error detected under the control of the second program, the second error report being associated with a second error report identifier; and
based upon the program that generated the first error report having been called by the program that generated the second error report generating an indication that the error reports associated with the first error report identifier and the second error report identifier are related.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for associating related errors in a computer system is provided. In a preferred embodiment, an error reported by a first program is associated with a related error reported by a second program that calls the first program. The first program detects the occurrence of an error, and, in response, generates a first error report containing information describing the error detected by the first program. The first error report is thereafter associated with a first error report identifier identifying the first error report. When the first program later returns to the second program, the second program also detects the occurrence of an error. In response, the second program likewise generates an error report containing information describing the error detected by the second program. The second error report is thereafter associated with a second error report identifier identifying the second error report. After the first and second error reports have been generated, the method and system generates an indication that the error reports identified by the first and second error report identifiers are related.
83 Citations
18 Claims
-
1. A method in a computer system for associating an error reported by a first program with an error reported by a second program that calls the first program, the method comprising the steps of:
-
under the control of the second program; calling the first program; under the control of the first program; detecting the occurrence of an error, and generating a first error report containing information describing the error detected under the control of the first program, the first error report being associated with a first error report identifier; under the control of the second program; detecting the occurrence of an error, and generating a second error report containing information describing the error detected under the control of the second program, the second error report being associated with a second error report identifier; and based upon the program that generated the first error report having been called by the program that generated the second error report generating an indication that the error reports associated with the first error report identifier and the second error report identifier are related. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method in a computer system for constructing an error report linking data structure describing an error having manifestations that occur in each of a plurality of programs comprising a calling sequence, the method comprising the steps of:
-
initializing the error report linking data structure; and for each program of the calling sequence; detecting the manifestation of the error occurring in the program, generating an error report containing information describing the s manifestation of the error occurring in the program, and storing a reference to the generated error report in the error report linking data structure, such that the error report linking data structure contains a reference to each error report generated by a program in the calling sequence to identify the generated error reports as related. - View Dependent Claims (10)
-
-
11. A method in a computer system for describing an error having manifestations in each of a plurality of programs comprising a calling sequence, the method comprising the steps of:
-
(a) under the control of each of the programs of the calling sequence, detecting the manifestation of the error occurring in the program and generating an error report containing information descriptive of the manifestation of the error occurring in the program; and (b) based on the fact that the error reports generated in step (a) are generated by programs comprising a calling sequence, generating an indication identifying the error reports generated in step (a) and indicating that the error reports generated in step (a) relate to the same error. - View Dependent Claims (12, 13)
-
-
14. A method in a computer system for associating data related to an error that is encapsulated by a first object with data related to the same error that is encapsulated by a second object, the method comprising the steps of:
-
in a function member of the second object, invoking a function member of the first object; detecting the occurrence of the error in a function member of the first object; generating a first error report containing data encapsulated by the first object relating to the occurrence of the error detected in the function member of the first object; detecting the occurrence of the error in a function member of the second object; generating a second error report containing data encapsulated by the second object relating to the occurrence of the error detected in the function member of the second object; and generating an indication that the first error report and the second error report relate to the same error. - View Dependent Claims (15, 16)
-
-
17. An apparatus for associating a plurality of error reports relating to the same error, each of the error reports being generated by one of a series of programs that call one another, the apparatus comprising:
-
a memory for containing an error report linking data structure; a storing agent for storing information in the error report linking data structure identifying each error report generated by a program in the series; and an associating agent for using the information stored in the error report linking data structure by the storing agent to associate the error reports identified thereby to identify these error reports as relating to the same error. - View Dependent Claims (18)
-
Specification