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 8841 - Breakpoint not working on certain .java files
Summary: Breakpoint not working on certain .java files
Status: CLOSED WONTFIX
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 normal (vote)
Assignee: Karel Serin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-12-08 18:49 UTC by RefuX
Modified: 2001-07-30 13:37 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 RefuX 2000-12-08 18:49:51 UTC
I debug Servlets/JSPs through JRUN in Netbeans.
i.e. I run JRun 3.0 in netbeans (so I'm just debugging in a normal application manner).
My problem is this:
If I set a breakpoint in my compiled JSP page (i.e. the .java page) the debugger never stops there.
HOWEVER
if I set a break-point in a normal project java file that is called from JSP I can then step out on of into the JSP compiled page and step through it.
ALSO
If once I am stepping through a compiled JSP page and I set a breakpoint further down and tell the debugger to resume it doesn't stop at that breakpoint.
Comment 1 Jan Chalupa 2001-05-05 21:19:35 UTC
Target milestone -> 3.3
Comment 2 Petr Jiricka 2001-05-07 14:23:25 UTC
This is not a bug, as debugging JSP code is only supported on Tomcat. For 
Tomcat, special mechanism exists which makes sure that the .java code produced 
by the IDE JSP compiler actually runs on Tomcat, without Tomcat creating its 
own version of the compiled file. However, for JRun, no such mechanism exists, 
so JRun does not use the .java file produced by the IDE JSP compiler, but uses 
its own compiler. So it can not be assumed that JSP debugging on JRun works. 

However, "normal" Java file debugging should work fine.
Comment 3 RefuX 2001-05-07 19:56:52 UTC
No.
These files have been compiled by the JRun JSP compiler, not the netbeans jasper compiler.

However the debugger will not recognize break points set on these files.
Comment 4 Karel Serin 2001-07-27 13:09:23 UTC
Issue transfered to Bugtraq under BugID: 4484685
Comment 5 Karel Serin 2001-07-30 13:37:18 UTC
Issue closed because of transfer mentioned before.