What is the cost of a try/catch in javascript ?
I was thinking about adding that kind try/catch "everywhere" when I though it
could drain performances ... any advice ?
On 19 juil. 2010, at 22:51, panyasan wrote:
>
> Ok, answering myself, for the record:
>
> try
> {
> ...
> }
> catch( e )
> {
>
> console.log(qx.dev.StackTrace.getStackTraceFromError(e).join("\n"));
> }
>
> Now I have at least a clue what is causing the error - but it still requires
> some guessing where to place the try/catch.
>
> Cheers,
> Christian
>
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/Explanation-of-qooxdoo-firebug-debug-backtrace-tp5313862p5313985.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel