RE: Remote debugging a Tapestry application

Lance Java <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <CAN7Z0vQx3CDJBtgF6v5b3bX-7E-0js-1o2KD=f8xvXmAzS_p6g@mail.gmail.com>
That's incorrect. Tapestry pages / components are byte code transformed
such that properties are stored in PerThreadValue instances. In development
mode tapestry duplicates the values into the bean properties to make
debugging easier.


On 5 Apr 2017 09:30, "Ankit Jain" <[email protected]> wrote:

> The problem you are talking about is independent of development/production/
> remotedebugging.
> You can use sysout or logger to trace the values as watch will not be able
> to show you the real value of global objects in the page.
>
> Note: I am assuming that you are trying to see the value of the global
> variable of the page in the watch dialog.
>
> -----Original Message-----
> From: Barry Books [mailto:[email protected]]
> Sent: Wednesday, April 5, 2017 5:10 AM
> To: Tapestry users
> Subject: Re: Remote debugging a Tapestry application
>
> I believe you will be able to see the values if you are in development
> mode.
>
> On Tuesday, April 4, 2017, g kuczera <[email protected]> wrote:
>
> > Hi everybody,
> > I wanted to speed up my work and try out the remote debugging from
> Eclipse.
> > It indeed works (I use jetty:run on localhost and then remote
> > debugging configuration from Eclipse), the breakpoints are hit. The
> > big problem is the wrong values of the pages' fields - all of them
> > equal null or other default value (eg. the boolean fields equal
> > false). After passing the field to the method, it's value is read
> correctly.
> >
> > I use Tapestry 5.3.7 and Eclipse Neon. The application is run in the
> > production mode and I have not yet tried the development mode (I have
> > some configuration problems, probably not connected with Tapestry). Is
> > there any difference in this case between these two modes?
> >
> > The project is managed by maven. The maven-compiler-plugin plugin is
> > in version 3.1 and is configured with settings:
> >           <debug>true</debug>
> >           <debuglevel>lines,vars,source</debuglevel>
> >
> > I think that my problem is connected with this three ead:
> > http://apache-tapestry-mailing-list-archives.1045711.
> > n5.nabble.com/Debugging-variables-td4296888.html
> >
> [Aspire Systems]
>
> This e-mail message and any attachments are for the sole use of the
> intended recipient(s) and may contain proprietary, confidential, trade
> secret or privileged information. Any unauthorized review, use, disclosure
> or distribution is prohibited and may be a violation of law. If you are not
> the intended recipient, please contact the sender by reply e-mail and
> destroy all copies of the original message.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.