[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-debug-dev] JSP debugging no longer working with tomcat 5 using eclipse 3.0
|
I figured it out
it is to do with JSP 2.0 spec
if you put
suppressSmap - false in web.xml
like so...
it works
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>suppressSmap</param-name>
<param-value>true</param-value>
</init-param>
</servlet>
I will do a how-to web page in the next couple of days
since this quite a nice feature
--- Mark Palmer <bikerx1969@xxxxxxxxx> wrote:
> I have been using eclipse 3.0R? for quite some time.
>
> Which is a fantastic product.
>
> And have been able to debug jsp's in tomcat 4 by
> simplying
> copying the *.java files created by tomcat's jasper
> compiler, into my eclipse workspace, into a
> directory
> called org/apache/jsp and attaching a remot e
> debugger.
>
> That way I can see the raw jsp files as a java
> source
> file
> and debug it.
>
> However with tomcat 5 this no longer works
> correctly.
>
> The remote debugger still stop on breakpoints that i
> have set, but it is unable to correctly associate
> the
> *.java file with line number it is on and
> consequently
> it does not step through the code on the screen.
>
> It is however still in debug mode because I can set
> addition breakpoint in a file and it will stop when
> it
> gets there, and I can examine all the variables.
>
> Any ideas on what is different with tomcat5 and
> jasper2 that might be causing this? Any what I can
> do
> in eclipse to accomadate this.
>
> N.B. I also have the same problem when I use tomcat
> 5
> embedded in JBOSS, (tomcat4 and JBOSS work fine)
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> platform-debug-dev mailing list
> platform-debug-dev@xxxxxxxxxxx
>
http://dev.eclipse.org/mailman/listinfo/platform-debug-dev
>
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail