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

Jonathan Woods jonathan.woods at scintillance.com
Fri Feb 9 13:09:42 CET 2007


That's a great step forward, then - cool.  I've no idea why Eclipse won't
let you set a breakpoint in the JSP.  Is the resource named *.jsp?  Have you
updated WTP recently?

Jon 

-----Original Message-----
From: sfdbfoui at host2.scintillance.com
[mailto:sfdbfoui at host2.scintillance.com] On Behalf Of Mo Nian Liang
Sent: 09 February 2007 03:48
To: The OpenCms mailing list
Subject: RE: [opencms-dev] How to insert breakpoint in jsp for debug


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!


_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list