atom feed36 messages in org.apache.incubator.flex-devRE: Trace & Log
FromSent OnAttachments
Martin HeideggerJan 19, 2012 9:37 am 
Omar GonzalezJan 19, 2012 9:40 am 
Skogen, EspenJan 19, 2012 9:45 am 
Martin HeideggerJan 19, 2012 9:51 am 
Arnoud BosJan 19, 2012 9:55 am 
Rui SilvaJan 19, 2012 9:57 am 
Petr CihelkaJan 19, 2012 10:01 am 
Martin HeideggerJan 19, 2012 10:02 am 
Omar GonzalezJan 19, 2012 10:04 am 
Alex HaruiJan 19, 2012 10:06 am 
Martin HeideggerJan 19, 2012 10:20 am 
Omar GonzalezJan 19, 2012 10:28 am 
Martin HeideggerJan 19, 2012 11:10 am 
Alex HaruiJan 19, 2012 11:31 am 
Martin HeideggerJan 19, 2012 12:02 pm 
Martin HeideggerJan 19, 2012 12:04 pm 
Alex HaruiJan 19, 2012 12:33 pm 
Roland ZwagaJan 19, 2012 1:52 pm 
Martin HeideggerJan 19, 2012 7:08 pm 
saurabh jainJan 19, 2012 10:28 pm 
Martin HeideggerJan 19, 2012 10:36 pm 
Alex HaruiJan 19, 2012 10:42 pm 
saurabh jainJan 19, 2012 10:44 pm 
Martin HeideggerJan 19, 2012 11:33 pm 
saurabh jainJan 19, 2012 11:43 pm 
Martin HeideggerJan 19, 2012 11:51 pm 
saurabh jainJan 20, 2012 12:17 am 
Dirk EismannJan 20, 2012 12:42 am 
Martin HeideggerJan 20, 2012 12:46 am 
Dirk EismannJan 20, 2012 6:42 am 
Martin HeideggerJan 20, 2012 6:59 am 
Roland ZwagaJan 20, 2012 7:03 am 
Dirk EismannJan 20, 2012 7:12 am 
Roland ZwagaJan 20, 2012 7:25 am 
Martin HeideggerJan 25, 2012 12:52 am 
Alex HaruiJan 25, 2012 2:06 pm 
Subject:RE: Trace & Log
From:Alex Harui (aha@adobe.com)
Date:Jan 25, 2012 2:06:24 pm
List:org.apache.incubator.flex-dev

-----Original Message----- From: Martin Heidegger [mailto:mh@leichtgewicht.at] Sent: Wednesday, January 25, 2012 12:53 AM To: flex@incubator.apache.org Subject: Re: Trace & Log

Hey there,

I just took a little time and ran some tests with flash.trace.Trace. It is not suitable for logging because it doesn't reveal how far down the rabbit hole (stack) the method has been called from, ergo: we cant find out which method called logging. And even if it would have: Having no runtime support is also a dealbreaker and the chances are high that it would have been slower if you used this method for every call rather than a exception just for the logging calls.

http://www.leichtgewicht.at/862/flash-trace-trace-in-depth/

yours Martin.

My tracing profiler prototype uses a Error to get a starting stack trace.

I agree the callback can degrade performance. The question for me is what
penalty, if any, we want to impose on the way we write our code or the output
SWF for the low-probability but high-value of debugging a problem in the wild.