You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/07/23 11:59:40 UTC

DO NOT REPLY [Bug 30289] New: - Wrong SMAP mappings with body dependent tags

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30289>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30289

Wrong SMAP mappings with body dependent tags

           Summary: Wrong SMAP mappings with body dependent tags
           Product: Tomcat 5
           Version: 5.0.27
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: martin.grebac@sun.com


The actual debugger bug description is here:
http://www.netbeans.org/issues/show_bug.cgi?id=45360

See attached web app - important files are mostly these:
WebApplication3/web/index.jsp and 
WebApplication3/build/generated/src/org/apache/jsp/index_jsp.class.smap
WebApplication3/build/generated/src/org/apache/jsp/index_jsp.java

I think that issue 29638
(http://issues.apache.org/bugzilla/show_bug.cgi?id=29638) mentions the same.

Mapping part of the smap for index.jsp looks like this:

1,4:57
4:81,29
4,7:93
10,3:63

I believe the second mapping shouldn't be there, because then it causes debugger
to completely skip the contents of the tag body and also breakpoints in those
areas are not reflected. This is quite serious issue, as it makes debugging of
jsps with tags (like from Jstl and Struts, e.g.) completely unusable.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org