What version of eclipse and Tapestry are you on? I have had zero
problems debugging into enhanced classes via eclipse 3.1 and Tapestry 3.0.3;
class enhancement is pretty common these days (it's how Hibernate works for
example), so if there was an intrinsic debugging problem with Eclipse and
enhanced classes I'm pretty sure it would have come up by now.
In other words, I suspect either:
A) Your method isn't really the method that's being run.
B) You've got something configured wrong.
As I said before, if you make a concret property:
Private String fFoo
With concrete getters and setters:
Public String getFoo() {
Return fFoo;
}
Public void setFoo(String s) {
fFoo = s;
}
And define foo as a property in you .jwc e.g.
<parameter name="foo" required="no" type="java.lang.String" direction="in"
/>
Then you can break within your setters and getters just fine.
--- Pat
> -----Original Message-----
> From: Dan Adams [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 10, 2005 6:15 AM
> To: Tapestry users
> Subject: RE: [OT] Debugging components in eclipse
>
> Well, thats what I'm saying. If I set a breakpoint in a normal method in
> a component class eclipse opens up an editor window for the enhanced
> class even though I've got the source window open already and complains
> it can't find the source. Note that I'm talking about setting
> breakpoints in like the tapestry source for instance. It works fine for
> my own code.
>
> On Wed, 2005-11-09 at 13:47 -0800, Patrick Casey wrote:
> > Just put a breakpoint inside your code; the enhancer just subclasses
> > your stuff, so your code will still be there. You cant' use abstract
> getters
> > and setters, of couse, but if you use concrete properties, you're
> golden.
> >
> > --- Pat
> >
> > > -----Original Message-----
> > > From: Dan Adams [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, November 09, 2005 1:23 PM
> > > To: Tapestry users
> > > Subject: [OT] Debugging components in eclipse
> > >
> > > Anyone know how to debug the components in eclipse? When you a
> > > breakpoint in a component gets hit eclipse tries to load up the source
> > > for the enhanced component and won't use the tapestry source i have
> > > attached.
> > >
> > > --
> > > Dan Adams
> > > Software Engineer
> > > Interactive Factory
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> --
> Dan Adams
> Software Engineer
> Interactive Factory
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]