Patent ID: 6463578
Filing Date: 2002-10-08
Classification: G06F

Abstract:
A method of debugging a Java Server Page (JSP) file via a Java Virtual Machine (JVM) debugger tool, wherein the JSP file, in response to a client request therefor, is configured to be converted to a Java source file which can be compiled and executed as a Java class file, wherein the JSP file comprises a markup language source code, wherein the Java source file comprises Java source code and information that identifies portions of the Java source code that correspond to respective portions of the markup language source code in the JSP file, and wherein the Java class file comprises Java bytecode that, when executed, returns a response to the client request, the method comprising the steps of:locating a source file specifier within a Java class file that identifies a Java source file from which the Java class file is compiled; identifying at least one source-to-bytecode table associated with the Java class file, wherein the at least one source-to-bytecode table comprises information that associates bytecode within the Java class file with a respective portion of the Java source code within the identified Java source file; modifying the identified at least one source-to-bytecode table to include information that associates respective portions of the Java source code with respective portions of the markup language source code of the JSP file; modifying the located source file specifier to indicate the JSP file as the source file from which the Java class file is compiled; and executing the Java class file within a JVM debugger tool to debug the markup language source code of the JSP file.