Interactive debugging environments and methods of providing the same
First Claim
Patent Images
1. A computer-implemented method for generating active in-memory interactive object from stored program failure data, comprising:
- detecting an anomalous condition related to a program failure;
capturing data regarding the anomalous condition;
storing the captured data;
converting the stored data into at least one active in-memory interactive object; and
reproducing a runtime environment about a region of code related to the program failure from the at least one active in-memory interactive object, wherein reproducing the runtime environment includes reflecting a localized representation of an original environment of a program related to the program failure, the localized representation being proximal to the region of program code of the program failure;
generating a snapshot of an active class related to the captured data, wherein the snapshot includes at least one of values of member fields of the active class, values of input parameters of at least one method corresponding to the active class, and local member fields;
auto-serializing object data of the active class into a file in response to the anomalous condition;
deserializing the file;
reconstructing in-memory values of the object data of the active class;
generating a log file in response to detecting the anomalous condition, wherein the log file includes at least one of a character-based log, a trace file, an operating system log file, and a dump file;
automatically extracting contextual object data from the log file proximal to an area of the program failure;
instantiating the at least one active in-memory interactive object from the extracted contextual object data; and
providing the at least one active in-memory interactive object to a test tool for debugging.
1 Assignment
0 Petitions
Accused Products
Abstract
Described are systems and methods for generating interactive in memory objects from stored program failure data. An anomalous condition related to a program failure is detected. Data is captured regarding the anomalous condition. The captured data is stored. The stored data is converted into at least one in-memory object. A runtime environment is reproduced about a region of code related to the program failure from the at least one in-memory object.
-
Citations
8 Claims
-
1. A computer-implemented method for generating active in-memory interactive object from stored program failure data, comprising:
-
detecting an anomalous condition related to a program failure; capturing data regarding the anomalous condition; storing the captured data; converting the stored data into at least one active in-memory interactive object; and reproducing a runtime environment about a region of code related to the program failure from the at least one active in-memory interactive object, wherein reproducing the runtime environment includes reflecting a localized representation of an original environment of a program related to the program failure, the localized representation being proximal to the region of program code of the program failure; generating a snapshot of an active class related to the captured data, wherein the snapshot includes at least one of values of member fields of the active class, values of input parameters of at least one method corresponding to the active class, and local member fields; auto-serializing object data of the active class into a file in response to the anomalous condition; deserializing the file; reconstructing in-memory values of the object data of the active class; generating a log file in response to detecting the anomalous condition, wherein the log file includes at least one of a character-based log, a trace file, an operating system log file, and a dump file; automatically extracting contextual object data from the log file proximal to an area of the program failure; instantiating the at least one active in-memory interactive object from the extracted contextual object data; and providing the at least one active in-memory interactive object to a test tool for debugging. - View Dependent Claims (2, 3, 4)
-
-
5. A computer-implemented method of debugging a software program, comprising:
-
generating a snapshot of an active class in response to an abnormal condition generated from a software component failure, wherein the snapshot includes at least one of values of member fields of the active class, values of input parameters of at least one method corresponding to the active class, and local member fields; auto-serializing object data of the active class into a file in response to the abnormal condition; converting the serialized object data into at least one active in-memory interactive object corresponding to a localized representation of an original environment at which the abnormal condition occurred; and reproducing a runtime environment about a region of program code related to the software component failure from the at least one active in-memory interactive object, wherein reproducing the runtime environment related to the software component failure includes reflecting a localized representation of an original environment of a program related to the software component failure, the localized representation being proximal to a region of program code of the software component failure; deserializing the file; reconstructing in-memory values of the object data of the active class; generating a log in response to the software component failure, wherein the log includes at least one of a character-based log file, a trace file, an operating system log file, and a dump file; automatically extracting contextual object data of the object data from the log, the contextual objects extracted from a section of the log proximal to the region of program code of the software component failure; instantiating the at least one active in-memory interactive object from the extracted contextual object data; and providing the at least one active in-memory interactive object to a test tool for debugging. - View Dependent Claims (6, 7)
-
-
8. A computer program product for generating active in-memory interactive object from stored program failure data, the computer program product comprising:
a non-transitory computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising; computer readable program code configured to detect an anomalous condition related to a program failure; computer readable program code configured to capture data regarding the anomalous condition; computer readable program code configured to store the captured data; computer readable program code configured to convert the stored data into at least one active in-memory interactive object; and computer readable program code configured to reproduce a runtime environment about a region of code related to the program failure from the at least one in-memory object, wherein reproducing the runtime environment includes reflecting a localized representation of an original environment of a program related to the program failure, the localized representation being proximal to the region of program code of the program failure; computer readable program code configured to generate a snapshot of an active class related to the captured data, wherein the snapshot includes at least one of values of member fields of the active class, values of input parameters of at least one method corresponding to the active class, and local member fields; computer readable program code configured to auto-serialize object data of the active class into a file in response to the anomalous condition; computer readable program code configured to deserialize the file; computer readable program code configured to reconstruct in-memory values of the object data of the active class; computer readable program code configured to generate a log file in response to detecting the anomalous condition, wherein the log file includes at least one of a character-based log, a trace file, an operating system log file, and a dump file; computer readable program code configured to automatically extract contextual object data from the log file proximal to an area of the program failure; computer readable program code configured to instantiate the at least one active in-memory interactive object from the extracted contextual object data; and computer readable program code configured to provide the at least one active in-memory interactive object to a test tool for debugging.
Specification