dev@glassfish.java.net

Re: JSP debugging issues with V2 b33

From: Kin-man Chung <Kin-Man.Chung_at_Sun.COM>
Date: Mon, 29 Jan 2007 16:56:48 -0800

Are you using JDK6? If you are, try setting the following properties in
<jsp-config>

    keepgenerated: true
    saveByteCode: true

I have asked Netbeans to set them as defaults in JDK 6.

On Mon, 2007-01-29 at 16:14, Vince Kraemer wrote:
> I am trying to use netbeans to debug a JSP.
>
> I have set a BP in the .jsp file, but the debugger doesn't stop at the BP.
>
> If I use v1u1, the debugger hits the BP.. (in the same build of
> NetBeans....)
>
> I have the following jsp-config property values set:
>
> <jsp-config>
> <property name="classdebuginfo" value="true">
> <description>Enable debug info compilation in the generated
> servlet class</description>
> </property>
> <property name="mappedfile" value="true">
> <description>Maintain a one-to-one correspondence between static
> content and the generated servlet class' java code</description>
> </property>
> </jsp-config>
>
> The issue appears to be very similar to issues that this person saw in
> mid December...
>
> https://glassfish.dev.java.net/servlets/ReadMsg?list=users&msgNo=1628
>
> Has anyone else seen this?
>
> Is there a new property that I need to set to get this to work in v2?
>
> vbk
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>