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 37163 - JSP debugging doesn't work properly
Summary: JSP debugging doesn't work properly
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-12 13:34 UTC by L Martinek
Modified: 2004-02-04 14:54 UTC (History)
0 users

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 L Martinek 2003-11-12 13:34:54 UTC
Found in build 200311111900, jdk 1.4.2_02.

Create a JSP and toggle breakpoint. Start
debugger. Status line says breakpoint is reached,
but it isn't visible in editor and Step Out
doesn't work because, as it claims, source isn't
mounted.

This message is in status line: Breakpoint reached
at line ? in class org.apache.jsp.myjsp$jsp by
thread HttpProcessor[8081][4].
Comment 1 Martin Grebac 2003-11-14 10:47:39 UTC
Has been caused by applying the performance patch (see the commit log
below) from the refactoring group. I already started, so I'm gonna
find/fix the problem. This will probably need fix only in the Qbuild
branch.

 User: msandor Date: 03/11/07 02:54:21
 Modified:    src/org/netbeans/modules/debugger/support/java JUtils.java
  Log: #36827: Source was patched
  
  Revision  Changes    Path
  1.17      +28 -16   
debuggercore/src/org/netbeans/modules/debugger/support/java/JUtils.java
   
http://debuggercore.netbeans.org/source/browse/debuggercore/src/org/netbeans/modules/debugger/support/java/JUtils.java.diff?r1=1.16&r2=1.17
Comment 2 Martin Grebac 2003-11-14 12:08:51 UTC
Fixed in qbuild branch QBE200311111900: 
http://debuggercore.netbeans.org/source/browse/debuggercore/src/org/netbeans/modules/debugger/support/java/JUtils.java.diff?r1=1.17&r2=1.17.2.1

Problem is, that servlets from Tomcat4 have '$jsp' at the end in their
names, even though 'jsp' is not inner class, and they are not placed
in standard package (org/apache/jsp), but directly under root of
'work/...' directory.
Comment 3 L Martinek 2004-02-04 14:54:03 UTC
verified