I do the exact same thing ;)

On 7/18/06, Bart Wttewaall <[EMAIL PROTECTED]> wrote:

When using XRay for debugging, I usually make use of a debug-boolean, like
so:

var debug:Boolean = true;

function something() {
    if (debug) _global.tt("Error");
}

Sure, it costs an extra statement to be examined, even when debug is
set to false, but the usability weighs higher then that little bit of
extra performence.

2006/7/18, Marcelo de Moraes Serpa <[EMAIL PROTECTED]>:
> I´ve been having some weird problems with my website and among them were
> rendering problems, slowdown, data downloading stopping without any
reason
> (you may have seen my previous posts about this one) and so on. I
struggled
> to find out that all these were side-effects of the massive use of
Luminic
> Box Logger. While this tool is extremelly useful, it can KILL your
> application if you forget all those calls through your code. What I did
was
> to go through each file and comment out all the logger references and
> recompile the swfs that this time worked like a charm, much faster and
> without glitches and unknown "bugs".
>
> What techniques do you use to make your debugger life easier? Please
share
> your thoughts!
>
> And remember to disable traces and othter loggers when deploying your
app!
>
> Cheers,
>
> - Marcelo.
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
John Grden
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to