MyEclipse: [JRun 4] JSP debugging is broken, but it supports JSR 45.
support-rkalla - Dec 01, 2005 - 08:27 PM
Post subject: [JRun 4] JSP debugging is broken, but it supports JSR 45.
Yes, technicall it does, however the source map that it returns to the JSP debugger is extremely vague and lacks many details that allow for successful breaking and stepping through the code. Because of this if you are doing JSP debugging on JRun you will most likely notice flaky stepping behavior, unfortunately there is nothing we can do about this as the lack of details in the source map itself is the problem. This is an example of a JSP page used to debug:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
String path = request.getContextPath();
String basePath =
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<title>My JSP '13MyJsp.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="styles.css">
This is my JSP page.
Date date = new Date();
System.out.println("Date is: " + date);
And this is the source map returned by Tomcat:
+ 0 13MyJsp.jsp
And the source map returned by JRun
+ 0 13MyJsp.jsp
As you can see there is signifigantly less information comming back from the JRun4 source maps, this does not allow the MyEclipse debugger to perform an accurate debugging session of a JSP page currently.
NOTE: Information on how to read source maps can be found here: http://jcp.org/aboutJava/communityprocess/final/jsr045/index.html
All times are GMT - 6 Hours
Powered by PNphpBB2
© 2003-2004 The PNphpBB GroupCredits