You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Martin Reurings <ma...@windgazer.nl> on 2011/05/03 17:13:15 UTC
How to disable Tapestry javascript debugger
Hi guys,
Perhaps my google-fu is too weak, perhaps it's something nobody else has
had an issue with, but T5's built in javascript error-handling keeps
getting in the way of development :( Sometimes it's quite useful in
providing me T5 related hints concerning my errors but more often than
not I'd rather just get the error in my firebug console...
Is there some setting that will allow me to disable any error-catching
by T5 so that I can use my browser-based debuggers again?
Cheers,
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: How to disable Tapestry javascript debugger
Posted by LLTYK <LL...@mailinator.com>.
Just blow away Tapestry.error, warning, etc with your own versions. Redirect
all messages to console.log().
console.log() should probably be moved to in general, blackbird seems to
only be useful for IE6/IE7 and they seem to be winding down.
If you're talking about errors that don't appear at all, I got in the habit
of always doing a try-catch-console.log(error) in anything I put in
addScript. addInit errors seem to be caught by Tapestry and popped up.
--
View this message in context: http://tapestry-users.832.n2.nabble.com/How-to-disable-Tapestry-javascript-debugger-tp6327614p6330440.html
Sent from the Tapestry Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: How to disable Tapestry javascript debugger
Posted by Martin Reurings <ma...@windgazer.nl>.
Thank you for the info Thiago! Unfortunately this seem to indicate that
a sledgehammer needs to be taken to the task :( I've experimented with
disabling Blackbird (which is fairly trivial using the correct symbol)
but this doesn't disable T5's JS error capturing. I'll try if putting it
in production mode will do the trick instead...
Could possibly be that it's prototype which is capturing my errors since
I have code running on page-load using a custom tapestry initializer...
Cheers
On 03-05-11 17:51, Thiago H. de Paula Figueiredo wrote:
> On Tue, 03 May 2011 12:13:15 -0300, Martin Reurings
> <ma...@windgazer.nl> wrote:
>
>> Hi guys,
>
> Hi!
>
>> Perhaps my google-fu is too weak, perhaps it's something nobody else
>> has had an issue with, but T5's built in javascript error-handling
>> keeps getting in the way of development :( Sometimes it's quite
>> useful in providing me T5 related hints concerning my errors but more
>> often than not I'd rather just get the error in my firebug console...
>
> See
> http://tapestry.markmail.org/search/?q=clientinfrastructure#query:clientinfrastructure+page:1+mid:vuehv5hu2hsi7lyp+state:results.
>
> By the way, Blackbird (the JavaScript console) can be easily disabled
> since 5.2, I think.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: How to disable Tapestry javascript debugger
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Tue, 03 May 2011 12:13:15 -0300, Martin Reurings <ma...@windgazer.nl>
wrote:
> Hi guys,
Hi!
> Perhaps my google-fu is too weak, perhaps it's something nobody else has
> had an issue with, but T5's built in javascript error-handling keeps
> getting in the way of development :( Sometimes it's quite useful in
> providing me T5 related hints concerning my errors but more often than
> not I'd rather just get the error in my firebug console...
See
http://tapestry.markmail.org/search/?q=clientinfrastructure#query:clientinfrastructure+page:1+mid:vuehv5hu2hsi7lyp+state:results.
By the way, Blackbird (the JavaScript console) can be easily disabled
since 5.2, I think.
--
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-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org