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.
Product Version: NetBeans IDE Dev (Build 200806230002) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb) 1) Create new web project on glassfish v2/v3 2) Set breakpoint somewhere in index.jsp 3) Debug project When breakpoint is hit and debugging stops, you can deduct only from Debugging View, where debugging has stopped. In other cases the line with breakpoint is green and with arrow poiting on this line.
Dane, so this is only in GlassFish, or also in Tomcat? And only JSP, or other languages too?
It's just in .jsp, for both glassfish and tomcat.
Yes, the problem is there, no green line and arrow is set for the line the debugger is stopped at.
I debugged it a bit, and found following: in debugger.jpda.ui module: In the SourcePath.annotate(JPDAThread, String, boolean) method the JPDAThreadImpl provided such path for the current frame, that the SourcePath wasn't able contruct valid URL and find the index.jsp file. Therefore no annotation (green line and arrow) happened. It needs more investigation, and debugger expert, to suggest where and how it should be fixed.
Ok, adding Martin Entlicher so he can comment. Peter, thanks for investigation!
Could this be related to issue 105808?
The problem is still there. It's very uneasy to debug .jsp files when the lines aren't marked (when the debug stops on the lines).
Reproduced. The path is searched for "Java" language, despite the session language is correctly "JSP".
Fixed in changeset: 101539:46b466d94729 http://hg.netbeans.org/main/rev/46b466d94729
Integrated into 'main-golden', will be available in build *200809120201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/46b466d94729 User: mentlicher@netbeans.org Log: #138001 - When annotating, retrieve the current language property from the session.
Works fine. V. Product Version: NetBeans IDE Dev (Build 200809180201) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)