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 21248 - JSP/servlet breakpoint does not stop debugger
Summary: JSP/servlet breakpoint does not stop debugger
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Jan Jancura
URL:
Keywords:
: 21090 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-03-06 15:03 UTC by Damian Frach
Modified: 2003-06-30 17:32 UTC (History)
3 users (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 Damian Frach 2002-03-06 15:03:22 UTC
win 2000; jdk 1.4; forte ee 2000 03 06

if you set JSP/servlet BP BEFORE debugging start, the servlet breakpoint works 
OK; debugger stops on them

if you set JSP/servlet BP AFTER debugging start, the servlet breakpoint works 
OK; debugger stops on them

JAVA BPs are OK in both situations

probably caused by setValid(true/false) management
Comment 1 Damian Frach 2002-03-06 15:04:53 UTC
*** Issue 21090 has been marked as a duplicate of this issue. ***
Comment 2 Damian Frach 2002-03-07 06:51:58 UTC
*** Issue 21090 has been marked as a duplicate of this issue. ***
Comment 3 Damian Frach 2002-03-08 07:41:28 UTC
this is called for java breakpoint added during debugging session
and this is NOT called for the servlet breakpoint added during 
debugging session

looks like this is the bug reason

setValid true
LineBreakpoint6535361[src qqq.qqq :ln 20 :line 
org.openide.text.EditorSupportLineSet$SupportLine@429bbb]
java.lang.Exception: Stack trace
        at java.lang.Thread.dumpStack(Thread.java:1071)
        at 
org.netbeans.modules.debugger.support.BreakpointSupport.setValid
(BreakpointSupport.java:280)
        at org.netbeans.modules.debugger.CoreBreakpoint$Event.setValid
(CoreBreakpoint.java:522)
        at org.netbeans.modules.debugger.jpda.LineBreakpoint.exec
(LineBreakpoint.java:357)
        at org.netbeans.modules.debugger.jpda.util.Operator$1.run
(Operator.java:104)
        at java.lang.Thread.run(Thread.java:536)
Comment 4 Jan Jancura 2002-03-27 15:40:13 UTC
fixed in main trunk
Comment 5 Jan Chalupa 2002-03-27 18:05:13 UTC
I believe this is fixed in orion_fcs, too.
Comment 6 Jan Jancura 2002-03-28 09:37:04 UTC
integrated to orion_fcs
Comment 7 Marek Grummich 2002-04-02 10:34:24 UTC
Damiane, could you please verify this bug? You are a reporter and I
think you know more about it then me. Thanks !
Comment 8 Damian Frach 2002-04-02 11:04:59 UTC
verified in the orion_fcs
Comment 9 Quality Engineering 2003-06-30 17:32:01 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.