Method and system for monitoring the execution of hybrid source code
First Claim
1. A method for monitoring the execution of hybrid source code which is executable on a server, comprising the steps of:
- generating executable code for execution by the server from the hybrid source code included in a single hybrid source code file comprising a source code in a second language imbedded in a source code of a markup language;
providing instrumentation in the executable code for supporting execution tracing; and
receiving in an execution monitor information from the instrumentation in the executable code for display on a user interface.
3 Assignments
0 Petitions
Accused Products
Abstract
This invention describes a system and method for monitoring the execution of hybrid source code such as JavaServer Pages (JSP) code. The system comprises a page compiler, which is called by a server for translating JSP code into a servlet for execution by the server. The page compiler during translation of the JSP code inserts instrumentation in the compiled JSP code for supporting execution tracing by an execution monitor. The execution monitor receives outputs from the page compiler, the servlet and the raw JSP code for displaying selected information about the execution of the JSP code to the developer on a graphical user interface. The execution monitor thus allows the developer to view the correlation between the JSP code, the servlet code and the HTML code that is generated by the servlet.
68 Citations
24 Claims
-
1. A method for monitoring the execution of hybrid source code which is executable on a server, comprising the steps of:
-
generating executable code for execution by the server from the hybrid source code included in a single hybrid source code file comprising a source code in a second language imbedded in a source code of a markup language;
providing instrumentation in the executable code for supporting execution tracing; and
receiving in an execution monitor information from the instrumentation in the executable code for display on a user interface. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for monitoring execution of hybrid source code which executes in a server, comprising the steps of:
-
translating the hybrid source code by a page compiler into a source code form and an executable code;
providing methods into the executable code, such that when the server executes the executable code, the methods are invoked and send line information to an execution monitor allowing the execution monitor to synchronize an executing code segment of the hybrid source code with a corresponding line of the source code; and
displaying the executing code segment of the hybrid source and the corresponding line of the source code in a user interface.
-
-
10. A program storage device readable by a data processing system, tangibly embodying a program of instructions, executable by the data processing system to perform a method for monitoring the execution of hybrid source code which is executable on a seer, the method comprising the steps of:
-
generating executable code for execution by the server from the hybrid source code included in a single hybrid source code file comprising a source code in a second language imbedded in a source code of a markup language;
providing instrumentation in the executable code for supporting execution tracing; and
receiving in an execution monitor information from the instrumentation in the executable code for display on a user interface.
-
-
11. A computer program product for monitoring the execution of hybrid source code which is executable on a server, said computer program product comprising:
-
a page compiler for reading and translating the hybrid source code included in a single hybrid source code file comprising a source code in a second language imbedded in a source code of a markup language into executable code for execution by the server and for inserting instrumentation in the executable code for supporting execution tracing; and
an execution monitor for receiving information from the instrumentation in the executable code for display on a user interface.
-
-
12. A computer program product for displaying the execution of hybrid source code which is executable on a server, comprising:
-
a page compiler for translating the hybrid source code included in a single hybrid source code file comprising a source code in a second language imbedded in a source code of a markup language, inserting instrumentation for execution tracing in source code translated from the hybrid source code and compiling the hybrid source code into executable code for execution by the server; and
an execution monitor for receiving as input and for displaying in a user interface of the execution monitor, the hybrid source code, the source code, and information from the instrumentation in the executable code. - View Dependent Claims (13, 14, 15, 16, 17)
-
-
18. A computer system for monitoring the execution of hybrid source code which is executable on a server, said computer system comprising:
-
a page compiler for reading and translating the hybrid code included in a single hybrid source code file comprising a source code in a second language imbedded in a source code of a markup language into executable code for execution by the server and for inserting instrumentation in the executable code for supporting execution tracing;
an execution monitor for receiving information from the instrumentation in the executable code for display on a user interface.
-
-
19. A computer system for displaying the execution of hybrid source code which is executable on a server, comprising:
-
a page compiler for translating the hybrid source code included in a single hybrid source code file comprising a source code in a second language imbedded in a source code of a markup language into source code, inserting instrumentation for execution tracing in the source code and compiling the hybrid source code into executable code for execution by the server; and
an execution monitor for receiving as input and for displaying in a user interface of the execution monitor, the hybrid source code, the source code, and information from the instrumentation in the executable code. - View Dependent Claims (20, 21, 22, 23)
-
-
24. An article of manufacture comprising;
-
a computer usable medium having a computer readable program code embodied therein for monitoring the execution of hybrid source code, comprising HTML and Java code, running on a Web application server, the computer readable program code in said article of manufacture comprising;
computer readable program code configured to cause a computer to read and translate the hybrid source code into an executable program and for inserting instrumentation in the executable program;
computer readable program code configured to cause a computer to read the hybrid source code, a source code translated from the hybrid source code and an output from the executable program and for displaying the hybrid source code, source code and the output in respective views on a graphical user interface; and
computer readable program code configured to cause a computer to communicate information between the instrumentation of the executable program and the graphical user interface whereby the information is used by the graphical user interface to correlate in the views a code segment of the hybrid source code with a line in the source code translated from the hybrid source code.
-
Specification