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 83280 - Cannot debug JSP
Summary: Cannot debug JSP
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-23 13:34 UTC by Jiri Skrivanek
Modified: 2006-10-23 16:41 UTC (History)
2 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 Jiri Skrivanek 2006-08-23 13:34:52 UTC
Since daily build 200608211800 it is impossible to debug JSP. It starts debugger
but it ignores breakpoints and immediately stops. To reproduce:

- create a new web application
- add a breakpoint to index.jsp
- start debugger. It starts but it doesn't stop at breakpoint and debugger is
finished.

Build 20060823-0854, WindowsXP, JDK1.5.0_06.
Comment 1 Libor Kotouc 2006-08-23 13:49:37 UTC
Server application debugging is run by the Ant task and the task is finished
after server has been started. JPDA debugger cannot finish the session by
listening on the 'Ant task finish' event.
Comment 2 Martin Entlicher 2006-08-23 14:01:56 UTC
This was caused by the fix of issue #69975.
I'll revert the problematic part of the fix from Aug 21 14:42:06 +0000 2006.

After the revert, JPDA debugger will NOT be stoped on "Build -> Stop Build/Run".
The problem is, that the debugged application can not be killed when it's
suspended. So it's still possible to evaluate variables, etc. The application
will terminate after few steps or after continue.
Comment 3 Martin Entlicher 2006-08-23 14:04:39 UTC
Fixed in trunk:

/cvs/debuggerjpda/ant/antsrc/org/netbeans/modules/debugger/jpda/ant/JPDAStart.java,v
 <--  JPDAStart.java
new revision: 1.48; previous revision: 1.47

/cvs/debuggerjpda/ant/antsrc/org/netbeans/modules/debugger/jpda/ant/JPDAConnect.java,v
 <--  JPDAConnect.java
new revision: 1.24; previous revision: 1.23
Comment 4 Jiri Skrivanek 2006-08-24 08:48:59 UTC
Verified.