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.
Summary: | Jsp editor window doesn't show on what line debugger hit breakpoint in jsp | ||
---|---|---|---|
Product: | javaee | Reporter: | Dan Kolar <dkolar> |
Component: | Debugger | Assignee: | Martin Entlicher <mentlicher> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | blaha, marfous, mentlicher, pjiricka |
Priority: | P2 | Keywords: | REGRESSION |
Version: | 6.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 105808 | ||
Bug Blocks: |
Description
Dan Kolar
2008-06-23 17:49:59 UTC
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). 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) |