I noticed that also, thats make debugging a hard process.

May be during transformation in non-production mode T5 should assign value
to corresponding field also, not just to conduit?
Its not good to declare realXXX fields in a class while original field not
used.

On Wed, May 26, 2010 at 06:08, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:

> On Tue, 25 May 2010 20:28:44 -0300, Dariusz Majewski <
> dariuszmajew...@gmail.com> wrote:
>
>  Hi All,
>>
>
> Hi!
>
>     @Parameter(value="120")
>>    private int maxWidth;
>>
>> Now my problem is that when I debug onMyCustomEvent method I can't see the
>> real value of maxWidth parameter.
>>
>
> That's Tapestry doing it heavy wizardry: when it loads your component
> class, it replaces the @Parameter fields by invocations to methods that were
> added to the class. This also happens for many annotations besides
> @Parameter. For debugging, just create a variable. Something like
> int realMaxWidth = maxWidth;
>
> realMaxWidth will have the current value of maxWidth, including in the
> debugger.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com

Reply via email to