After years of being a Flash and Flex developer, my biggest personal peeve with trace() has become the clean-up required after debugging using trace(). You do a Subversion update, throw in a few trace statements, debug and BOOM --- so trace statements that you can't find your own statements... all because team members have been debugging and failing to remove all their trace statements when they finish. Sad thing is that it drives me crazy because I am so guilty of it in the past.
I actually like using Flex Builders debugger. Placing break points in strategic positions will always get me more information than a bunch of traces. If you would like an alternative external debugger, you may wish to look at Xray (http://osflash.org/xray/). It requires a little more setup, though. Leif On Jan 25, 2008 10:29 AM, Andy Edmonds <[EMAIL PROTECTED]> wrote: > There's a nice blog post on debugging methods: > http://www.blog.mediaprojekte.de/tutorials/three-ways-to-debug-an-adobe-air-javascript-application/ > > Had anyone tried the debugging component from > http://www.realeyesmedia.com/redbug/ ? > > After creating about a 5mb per page load memory leak by sloppy event > listeners on an HTMLLoader with the Scrutinizer ( > http://about.stompernet.com/scrutinizer), the profiling features sound > pretty good! > > -A > > > Douglas Knudsen wrote: > > Debugging got you down? enter the trace(). For those from a Flash back > background, this is old news. Trace() in ActionScript will write to the > flashlog.txt file. This occurs ONLY with the debug Flash Player. This is > a great non-intrusive way to debug your code as it does not appear in the > UI. You can keep the file open in a text editor or even get fancy and run a > tail on it. > > You can navigate to this URL to verify that you have the Flash Debug > Player installed > http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19245&sliceId=1 > > > This URL lists all the Flash Players to download > http://www.adobe.com/support/flashplayer/downloads.html > > Some URLs on where to find flashlog.txt and set it up if its not already > > http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19323&sliceId=2 > http://www.adobe.com/devnet/flex/articles/client_debug_print.html > > http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=logging_125_04.html > > HTH > > peas > > -- > Douglas Knudsen > http://www.cubicleman.com > this is my signature, like it? > ------------------------------------------------------------- > To unsubscribe from this list, simply email the list with unsubscribe in > the subject line > > For more info, see http://www.affug.com > Archive @ http://www.mail-archive.com/discussion%40affug.com/ > List hosted by FusionLink <http://www.fusionlink.com> > ------------------------------------------------------------- > > > ------------------------------------------------------------- > To unsubscribe from this list, simply email the list with unsubscribe in > the subject line > > For more info, see http://www.affug.com > Archive @ http://www.mail-archive.com/discussion%40affug.com/ > List hosted by FusionLink <http://www.fusionlink.com> > ------------------------------------------------------------- > ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
