Method and apparatus for on demand debugging, tracing, and logging of applications
First Claim
Patent Images
1. A method in a data processing system for on demand tracking of applications, the method comprising:
- providing a list of target objects associated with the applications;
selecting one or more units of execution of interest from the list of target objects to form a set of selected target objects;
assigning a corresponding marker to each target object in the set of selected target objects prior to execution of the applications, wherein each corresponding marker assigns each target object in the set of selected target objects to a corresponding user identifier of a corresponding user;
responsive to executing the applications to execute at least one target object from the set of selected target objects using the corresponding marker for the at least one target object, identifying the corresponding marker and corresponding user for a target object in the set of selected target objects and triggering an event for an event handler associated with the corresponding user;
responsive to detecting the event from a server triggered by a process for an application, invoking the event handler to gather information from the process, wherein the information comprises a corresponding internet protocol address of a data processing system of the corresponding user and a corresponding process identifier;
sending the information to a development environment; and
responsive to receiving the information on the data processing system of the corresponding user, initiating a debug session automatically using the information in the development environment of the corresponding user.
1 Assignment
0 Petitions
Accused Products
Abstract
On demand tracking of applications is provided by a mechanism of the present invention. After a user selects one or more units of execution of interest, a marker is assigned to each target object. Upon invocation of an application, an event is sent to an event handler if at least one target object is executed. The event handler gathers a process identifier and initiates a debugging, tracing or logging of the process on a target system.
32 Citations
19 Claims
-
1. A method in a data processing system for on demand tracking of applications, the method comprising:
-
providing a list of target objects associated with the applications; selecting one or more units of execution of interest from the list of target objects to form a set of selected target objects; assigning a corresponding marker to each target object in the set of selected target objects prior to execution of the applications, wherein each corresponding marker assigns each target object in the set of selected target objects to a corresponding user identifier of a corresponding user; responsive to executing the applications to execute at least one target object from the set of selected target objects using the corresponding marker for the at least one target object, identifying the corresponding marker and corresponding user for a target object in the set of selected target objects and triggering an event for an event handler associated with the corresponding user; responsive to detecting the event from a server triggered by a process for an application, invoking the event handler to gather information from the process, wherein the information comprises a corresponding internet protocol address of a data processing system of the corresponding user and a corresponding process identifier; sending the information to a development environment; and responsive to receiving the information on the data processing system of the corresponding user, initiating a debug session automatically using the information in the development environment of the corresponding user. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A method in a server for processing on demand tracking of applications, the method comprising:
-
detecting a request from one of a plurality of data processing systems to invoke one or more applications; responsive to detecting the request, executing a unit of execution of the one or more applications to execute at least one target object from a set of selected target objects using a corresponding marker for at least one target object; and determining the unit of execution is assigned a corresponding marker, wherein each corresponding marker is assigned to a corresponding user of one of the plurality of data processing systems; responsive to a determination that the unit of execution is assigned a corresponding marker wherein each corresponding marker is assigned to a corresponding user of one of the plurality of data processing systems, sending an event to an event handler associated with the corresponding user of the one of the plurality of data processing systems, wherein the event handler gathers information comprising a corresponding internet protocol address of a data processing system, of the corresponding user, of one of the plurality of data processing systems and a corresponding process identifier of the unit of execution; sending the information to a development environment; and responsive to receiving the information on the data processing system of the corresponding user, initiating a debug session automatically using the information in the development environment of the corresponding user. - View Dependent Claims (15)
-
-
16. A data processing system for on demand tracking of applications, the data processing system comprising:
-
a system bus; a memory connected to the system bus, wherein the memory contains computer executable instructions; a processor connected to the bus, wherein the processor executes the computer executable instructions to direct the data processing system to; provide a list of target objects associated with the applications; select one or more units of execution of interest from the list of target objects to form a set of selected target objects; assign a corresponding marker to each target object in the set of selected target objects prior to execution of the applications, wherein each corresponding marker assigns each target object in the set of selected target objects to a corresponding user identifier of a corresponding user; responsive to executing the applications to execute at least one target object from the set of selected target objects using the corresponding marker for the at least one target object, identifying a corresponding marker and corresponding user for a target object in the set of selected target objects and triggering an event for an event handler associated with the corresponding user; invoke the event handler to gather information from a process, responsive to detecting the event from a server triggered by the process for an application, wherein the information comprises a corresponding internet protocol address of the data processing system, of the corresponding user, and a corresponding process identifier; send the information to a development environment and responsive to receiving the information on the data processing system of the corresponding user, initiate a debug session automatically using the information in the development environment of the corresponding user. - View Dependent Claims (17, 18)
-
-
19. A computer program product for on demand tracking of applications, the computer program product comprising:
-
a computer readable physical storage medium having instructions, executable by the computer, stored thereon, the instructions comprising; first instructions for providing a list of target objects associated with the applications; second instructions for selecting one or more units of execution of interest from the list of target objects to form a set of selected target objects; third instructions for assigning a corresponding marker to each target object in the set of selected target objects prior to execution of the applications, wherein each corresponding marker assigns each target object in the set of selected target objects to a corresponding user identifier of a corresponding user; fourth instructions responsive to executing the applications to execute at least one target object from the set of selected target objects using the corresponding marker for the at least one target object for identifying a corresponding marker and corresponding user for a target object in the set of selected target objects and triggering an event for an event handler associated with the corresponding user; fifth instructions for invoking the event handler to gather information from a process, responsive to detecting the event from a server triggered by the process for an application, wherein the information comprises a corresponding internet protocol address of a data processing system of the corresponding user and a corresponding process identifier; sixth instructions for sending the information to a development environment; and seventh instructions, responsive to receiving the information on the data processing system of the corresponding user, for initiating a debug session automatically using the information, in the development environment of the corresponding user.
-
Specification