Re: [Flashcoders] Techniques to disable/enable debug mode

2006-07-19 Thread Hans Wichman

Hi,
i think there are different option, but havent tested them all:
1. like you said commenting out , not preferable
2. use trace statements, so you can omit them on export
3. use trace in conjuction with mtasc
4. exclude your logger class during compilation (in flash or mtasc)
5. make your logger statically disabled
6. pass some kind of NullLogger to your static Logger (assuming your logger
is static)
7. use a static debug flag as bart said. Tedious but it would increase
performance prob:)

If any of these are wrong ,plz correct:)

I am a few weeks away from releasing a new logging api which you can use to
wrap Xray, Luminic, Trace, your own etc.
Some of its features are:
- different consumers (xray etc)
- automatic addition of classnames and method calls, eg you use
Logger.log(boo); and the console shows :
MyClass.myMethod-boo;
- filtering based on levels (log, info, debug)
- filtering based on instance classes (eg only print info from the MyClass
class)
- serializing and deserializing complete logger configurations, eg a very
extensive logger during development could be replaced with a nulllogger in
production. However, excluding the class might still be the best, im not
sure, any ideas?

Note that it is mostly a hobby project, and not in any way meant to be the
next big thing:), but i like it a lot hehehe. More information coming on it
soon

greetz
Hans


On 7/19/06, eric dolecki [EMAIL PROTECTED] wrote:


A stylized scarab beetle :)

On 7/18/06, Aaron Buchanan [EMAIL PROTECTED] wrote:

 Silver/grey with a funny lookin f?

 a


 On 7/18/06 4:19 PM, eric dolecki [EMAIL PROTECTED] wrote:

  i think mine has the sweetest logo for any debugger I have ever
seen...
 
  On 7/18/06, Aaron Buchanan [EMAIL PROTECTED] wrote:
 
  And does it have a cool logo? Huh?
 
  Hehe.
 
  a
 
 
  On 7/18/06 4:04 PM, Steven Sacks | BLITZ [EMAIL PROTECTED]
 wrote:
 
  Is it open source and freely available like Xray 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
 
  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, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:
 
  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 Debugger, and with Xray.
 
  BLITZ | Steven Sacks - 310-551-0200 x209
  ___
  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
  ___
  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
 
  --
  Aaron Buchanan | Flash Developer, Lab-Media | T 909 702 1368
 
 
  ___
  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

 --
 Aaron Buchanan | Flash Developer, Lab-Media | T 909 702 1368


 ___
 Flashcoders

Re: [Flashcoders] Techniques to disable/enable debug mode

2006-07-19 Thread John Grden

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


[Flashcoders] Techniques to disable/enable debug mode

2006-07-18 Thread Marcelo de Moraes Serpa

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


Re: [Flashcoders] Techniques to disable/enable debug mode

2006-07-18 Thread Bart Wttewaall

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


RE: [Flashcoders] Techniques to disable/enable debug mode

2006-07-18 Thread Steven Sacks | BLITZ
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 Debugger, and with Xray.

BLITZ | Steven Sacks - 310-551-0200 x209
___
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


Re: [Flashcoders] Techniques to disable/enable debug mode

2006-07-18 Thread eric dolecki

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, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:


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 Debugger, and with Xray.

BLITZ | Steven Sacks - 310-551-0200 x209
___
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


RE: [Flashcoders] Techniques to disable/enable debug mode

2006-07-18 Thread Steven Sacks | BLITZ
Is it open source and freely available like Xray 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
 
 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, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:
 
  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 Debugger, and with Xray.
 
  BLITZ | Steven Sacks - 310-551-0200 x209
  ___
  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
___
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


Re: [Flashcoders] Techniques to disable/enable debug mode

2006-07-18 Thread Aaron Buchanan
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 output on a per object basis, as well as look at the chronological,
albeit laggy, mess of output from your application.

I guess some doc's would be helpful. If anyone would like, lemme know and
ill take a lil time to run em through asdoc or somethin.

http://chattyfig.figleaf.com/pipermail/flashcoders/2006-June/167515.html

Cheers!
Aaron

On 7/18/06 3:59 PM, eric dolecki [EMAIL PROTECTED] wrote:

 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, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:
 
 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 Debugger, and with Xray.
 
 BLITZ | Steven Sacks - 310-551-0200 x209
 ___
 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

-- 
Aaron Buchanan | Flash Developer, Lab-Media | T 909 702 1368


___
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


Re: [Flashcoders] Techniques to disable/enable debug mode

2006-07-18 Thread eric dolecki

If I released it, it would be, something I'm thinking about. I might want to
rewrite some of it first though.

- e.d.


On 7/18/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:


Is it open source and freely available like Xray 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

 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, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:
 
  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 Debugger, and with Xray.
 
  BLITZ | Steven Sacks - 310-551-0200 x209
  ___
  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
___
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


Re: [Flashcoders] Techniques to disable/enable debug mode

2006-07-18 Thread Aaron Buchanan
And does it have a cool logo? Huh?

Hehe.

a


On 7/18/06 4:04 PM, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:

 Is it open source and freely available like Xray 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
 
 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, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:
 
 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 Debugger, and with Xray.
 
 BLITZ | Steven Sacks - 310-551-0200 x209
 ___
 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
 ___
 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

-- 
Aaron Buchanan | Flash Developer, Lab-Media | T 909 702 1368


___
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


Re: [Flashcoders] Techniques to disable/enable debug mode

2006-07-18 Thread eric dolecki

i think mine has the sweetest logo for any debugger I have ever seen...

On 7/18/06, Aaron Buchanan [EMAIL PROTECTED] wrote:


And does it have a cool logo? Huh?

Hehe.

a


On 7/18/06 4:04 PM, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:

 Is it open source and freely available like Xray 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

 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, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:

 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 Debugger, and with Xray.

 BLITZ | Steven Sacks - 310-551-0200 x209
 ___
 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
 ___
 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

--
Aaron Buchanan | Flash Developer, Lab-Media | T 909 702 1368


___
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


Re: [Flashcoders] Techniques to disable/enable debug mode

2006-07-18 Thread Aaron Buchanan
Silver/grey with a funny lookin f?

a  


On 7/18/06 4:19 PM, eric dolecki [EMAIL PROTECTED] wrote:

 i think mine has the sweetest logo for any debugger I have ever seen...
 
 On 7/18/06, Aaron Buchanan [EMAIL PROTECTED] wrote:
 
 And does it have a cool logo? Huh?
 
 Hehe.
 
 a
 
 
 On 7/18/06 4:04 PM, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:
 
 Is it open source and freely available like Xray 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
 
 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, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:
 
 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 Debugger, and with Xray.
 
 BLITZ | Steven Sacks - 310-551-0200 x209
 ___
 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
 ___
 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
 
 --
 Aaron Buchanan | Flash Developer, Lab-Media | T 909 702 1368
 
 
 ___
 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

-- 
Aaron Buchanan | Flash Developer, Lab-Media | T 909 702 1368


___
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


Re: [Flashcoders] Techniques to disable/enable debug mode

2006-07-18 Thread eric dolecki

A stylized scarab beetle :)

On 7/18/06, Aaron Buchanan [EMAIL PROTECTED] wrote:


Silver/grey with a funny lookin f?

a


On 7/18/06 4:19 PM, eric dolecki [EMAIL PROTECTED] wrote:

 i think mine has the sweetest logo for any debugger I have ever seen...

 On 7/18/06, Aaron Buchanan [EMAIL PROTECTED] wrote:

 And does it have a cool logo? Huh?

 Hehe.

 a


 On 7/18/06 4:04 PM, Steven Sacks | BLITZ [EMAIL PROTECTED]
wrote:

 Is it open source and freely available like Xray 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

 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, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:

 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 Debugger, and with Xray.

 BLITZ | Steven Sacks - 310-551-0200 x209
 ___
 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
 ___
 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

 --
 Aaron Buchanan | Flash Developer, Lab-Media | T 909 702 1368


 ___
 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

--
Aaron Buchanan | Flash Developer, Lab-Media | T 909 702 1368


___
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