This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 45360 - Tag body breakpoint - wrong stop in BodyTagSupport tags
Summary: Tag body breakpoint - wrong stop in BodyTagSupport tags
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords: TOMCAT
: 42554 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-22 14:30 UTC by zikmund
Modified: 2006-03-24 10:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2004-06-22 14:30:27 UTC
Build 200406211800

1) Have a web application
2) Create Custom Tag Library Descriptor & Tag
handlers (without sample code modifications) of
BodyTagSupport
3) Use this sample code:
<%@taglib prefix="t" uri="/WEB-INF/test"%>
   1<t:BodyDependent>
   A2
   B2
   C2
   D2
   E2
   3</t:BodyDependent>
   4---
4) Set breakpoint on line starting with 4 plus
A2/B2 --> stops on line starting with 1
C2 --> stops on line starting with 4
D2/E2 --> stops on line starting with 3

Notice:
- the middle line breakpoint (if odd line number)
stops behind tag usage (if there's any breakpoint)
- breakpoint from first half of body stops on
opening tag
- breakpoint from second half of body stops on
closing tag

Notice: It strongly affects debugging of JSPs with
Struts / JSTL usage.
Comment 1 Martin Grebac 2004-07-23 11:01:07 UTC
This is really important issue, but the problem seems to be in
tomcat's jasper smap mapper: 
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=30289
Comment 2 Martin Grebac 2004-07-23 11:02:21 UTC
*** Issue 42554 has been marked as a duplicate of this issue. ***
Comment 3 Martin Grebac 2004-07-27 09:47:30 UTC
I verified the bug has been fixed in tomcat dev build. Need to wait
for a new release to update the bundled tomcat.
Comment 4 Martin Grebac 2004-08-31 15:57:28 UTC
new tomcat was integrated, so this should work now
Comment 5 zikmund 2004-09-08 15:17:27 UTC
Verified.

There's issue 48315 which breaks following Step Over.