[opencms-dev] How to insert breakpoint in jsp for debug

Mo Nian Liang ric at oslad.com
Fri Feb 9 04:47:51 CET 2007


Hi, Jon

Thanks for your tip! 
After set a breakpoint in Java code called by a JSP, i can step through the code in that JSP!

but still cann't set a breakpoint in JSP directly.


On Fri, 9 Feb 2007 03:10:53 -0000, "Jonathan Woods" <jonathan.woods at scintillance.com> wrote:
> 
> Hmmm... I'm not sure what 'selected target' means in this context, and I
> can't reproduce the behaviour you describe.
> 
> What happens if you set a breakpoint in Java code called by a JSP?  What
> shows up in the call stack?  The calling JSP should at least be visible in
> the call stack, and described as "bla.jsp" not "bla_jsp.class" (though
> that
> may appear too).  If so, what happens when you double click on the entry
> for
> "bla.jsp"?  Before I got JSP debugging semi-working, I just received the
> usual "Source not found", and the trick was to work out what path to give
> Eclipse so that it would find the source it expected.
> 
> Jon
> 


--
http://www.IQplay.net/
Free & Excellent games, challenge your intelligence!




More information about the opencms-dev mailing list