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.