Of eric dolecki
Sent: Tuesday, July 18, 2006 4:00 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Techniques to disable/enable debug
mode
i have something like XRAY, but you never take snapshots, it works
runtime,
and has special trace statements, allows me to fire functions
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
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
Another alternative is to do this:
if (!debug) _global.tt = null;
or
if (debug) {
_global.out = function(m) {
NetDebug.trace(m);
_global.tt(m);
}
}
And use out() as your trace method which universally works in the IDE,
with the RemotingConnection
i have something like XRAY, but you never take snapshots, it works runtime,
and has special trace statements, allows me to fire functions runtime with
arguments, interrogate variable values, properties, you name it. It can work
with multiple SWFS (by switching the target), etc.
e.d.
On 7/18/06,
: [Flashcoders] Techniques to disable/enable debug mode
i have something like XRAY, but you never take snapshots, it works
runtime,
and has special trace statements, allows me to fire functions runtime
with
arguments, interrogate variable values, properties, you name it. It
can
work
A while back I released my console as well. It's nothing fancy, but did have
a feature that allows you to individually toggle whether a certain
broadcaster's output would be traced in flash. Additionally, in the live
console, you can filter across specific broadcasters, so that you can look
at
Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of eric dolecki
Sent: Tuesday, July 18, 2006 4:00 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Techniques to disable/enable debug mode
i have something like XRAY, but you never take snapshots
PROTECTED] On Behalf Of eric dolecki
Sent: Tuesday, July 18, 2006 4:00 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Techniques to disable/enable debug mode
i have something like XRAY, but you never take snapshots, it works
runtime,
and has special trace statements, allows me
is?
BLITZ | Steven Sacks - 310-551-0200 x209
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of eric dolecki
Sent: Tuesday, July 18, 2006 4:00 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Techniques to disable/enable debug mode
, 2006 4:00 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Techniques to disable/enable debug mode
i have something like XRAY, but you never take snapshots, it works
runtime,
and has special trace statements, allows me to fire functions runtime
with
arguments, interrogate
] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of eric dolecki
Sent: Tuesday, July 18, 2006 4:00 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Techniques to disable/enable debug mode
i have something like XRAY, but you never take snapshots, it works
runtime,
and has special trace statements
12 matches
Mail list logo