Method, system and computer program for debugging software applications in a web environment
First Claim
1. A method for debugging a software application in a data processing system that includes a server entity and a plurality of client entities, for at least one of the client entities the method comprising:
- accessing a server component of the software application that is running on the server entity;
downloading a client component of the software application from the server entity to the one client entity, the client component comprising;
at least one script that performs at least one function of the client component, anda log function that traces an execution of the at least one function;
executing, by a processor, the client component that includes the at least one function on the one client entity;
tracing, by the log function, the at least one function of the script in response to executing the at least one function;
responsive to the tracing, saving client log information in a log buffer on the one client entity relating to at least the execution of the at least one function of the script, the log buffer being a non-persistent memory structure of the client component that is maintained in the working memory of the one client entity; and
transmitting the client log information saved in the log buffer from the one client entity to the server entity for use in the debugging of the software application, and then purging the log buffer,wherein the non-persistent memory structure is an array, the log buffer comprises a series of client log items, and each of the client log items is an array entry, andthe saving comprises adding one client log item to the log buffer by the log function passing the one client log item as a parameter.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system are provided for debugging a software application in a data processing system that includes a server entity and client entities. For at least one of the client entities, a server component of the application running on the server entity is accessed, and a client component of the application is downloaded from the server entity. The client component is executed. Client log information relating to the execution of the client component is saved by invoking a log function provided by the client component; the client log information is saved into a non-persistent memory structure of the client component. The client log information is transmitted for use in the debugging of the application.
-
Citations
17 Claims
-
1. A method for debugging a software application in a data processing system that includes a server entity and a plurality of client entities, for at least one of the client entities the method comprising:
-
accessing a server component of the software application that is running on the server entity; downloading a client component of the software application from the server entity to the one client entity, the client component comprising; at least one script that performs at least one function of the client component, and a log function that traces an execution of the at least one function; executing, by a processor, the client component that includes the at least one function on the one client entity; tracing, by the log function, the at least one function of the script in response to executing the at least one function; responsive to the tracing, saving client log information in a log buffer on the one client entity relating to at least the execution of the at least one function of the script, the log buffer being a non-persistent memory structure of the client component that is maintained in the working memory of the one client entity; and transmitting the client log information saved in the log buffer from the one client entity to the server entity for use in the debugging of the software application, and then purging the log buffer, wherein the non-persistent memory structure is an array, the log buffer comprises a series of client log items, and each of the client log items is an array entry, and the saving comprises adding one client log item to the log buffer by the log function passing the one client log item as a parameter. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A non-transitory computer-readable storage medium encoded with a computer program for debugging a software application in a data processing system that comprises a server entity and a plurality of client entities, the computer program comprising instructions for performing a method comprising:
-
accessing a server component of the software application that is running on the server entity; downloading a client component of the software application from the server entity to the one client entity, the client component comprising; at least one script that performs at least one function of the client component, and a log function that traces an execution of the at least one function; executing, by a processor, the client component that includes the at least one function on the one client entity; tracing, by the log function, the at least one function of the script in response to executing the at least one function; responsive to the tracing, saving client log information in a log buffer on the one client entity relating to at least the execution of the at least one function of the script, the log buffer being a non-persistent memory structure of the client component that is maintained in the working memory of the one client entity; and transmitting the client log information saved in the log buffer from the one client entity to the server entity for use in the debugging of the software application, and then purging the log buffer, wherein the non-persistent memory structure is an array, the log buffer comprises a series of client log items, and each of the client log items is an array entry, and the saving comprises adding one client log item to the log buffer by the log function passing the one client log item as a parameter. - View Dependent Claims (11, 12, 13)
-
-
14. A system for debugging a software application in a data processing system that comprises a server entity and a plurality of client entities, the system comprising:
-
a memory; and a processor communicatively coupled to the memory, the processor being configured to perform a method comprising; accessing a server component of the software application that is running on the server entity; downloading a client component of the software application from the server entity to the one client entity; executing the client component on the one client entity, the client component comprising; at least one script that performs at least one function of the client component, and a log function that traces an execution of the at least one function; responsive to the tracing, saving client log information in a log buffer on the one client entity relating to at least the execution of the at least one function of the script, the log buffer being a non-persistent memory structure of the client component that is maintained in the working memory of the one client entity; and transmitting the client log information saved in the log buffer from the one client entity to the server entity for use in the debugging of the software application, and then purging the log buffer, wherein the non-persistent memory structure is an array, the log buffer comprises a series of client log items, and each of the client log items is an array entry, and the saving comprises adding one client log item to the log buffer by the log function passing the one client log item as a parameter. - View Dependent Claims (15, 16, 17)
-
Specification