|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
mtasc trace with flash debug playerI just discovered that adobe has released a flash debug player (even for
linux) that provides a way to log trace() statements to a file. (I feel like it's 1960 all over again!) I am trying to get the trace() outout to go to the file from an swf generated by mtasc, but it doesn't work. If I build the same code in the flash mx IDE, the traces do appear in the file. I also tried: mtasc -trace trace but that didn't work either. Has anyone gotten this to work? any suggestions? is mtasc removing the calls to the native trace function? Is there any other *easy* way to get trace output? I used to use xray, but it's no longer connecting to my program and there is no way to debug it, and the osflash site is down. -- Chris Bare chris@... -- MTASC : no more coffee break while compiling |
|
|
Re: mtasc trace with flash debug playerMay not be what you're looking for, but http://luminicbox has suited me
well in the past. *On Wed, Jul 25, 2007 at 05:06:57PM -0400 Chris Bare <chris@...> wrote: > To: mtasc@... > Date: Wed, 25 Jul 2007 17:06:57 -0400 (EDT) > From: Chris Bare <chris@...> > X-Mailer: ELM [version 2.4ME+ PL100 (25)] > Subject: [mtasc] mtasc trace with flash debug player > > I just discovered that adobe has released a flash debug player (even for > linux) that provides a way to log trace() statements to a file. (I feel like > it's 1960 all over again!) > > I am trying to get the trace() outout to go to the file from an swf generated > by mtasc, but it doesn't work. If I build the same code in the flash mx IDE, > the traces do appear in the file. > > I also tried: > > mtasc -trace trace > > but that didn't work either. Has anyone gotten this to work? any suggestions? > is mtasc removing the calls to the native trace function? > > Is there any other *easy* way to get trace output? I used to use xray, but it's > no longer connecting to my program and there is no way to debug it, and the > osflash site is down. > -- > Chris Bare > chris@... > > -- > MTASC : no more coffee break while compiling -- Jon Molesa rjmolesa@... if you're bored or curious http://rjmolesa.com -- MTASC : no more coffee break while compiling |
|
|
Re: mtasc trace with flash debug playerOn 7/25/07, Chris Bare <chris@...> wrote:
> > but that didn't work either. Has anyone gotten this to work? any suggestions? > is mtasc removing the calls to the native trace function? > Take a look at this blog post, it helped me understand how the whole thing works: <http://www.digitalflipbook.com/archives/2005/07/trace_from_the.php> When using MTASC, you don't need to use the -trace parameter unless you want to disable tracing (by using '-trace no') or use your own trace function (by using '-trace com.yourdomain.yourTraceFunction') I can confirm that MTASC works with the debug player, as that's what I'm using in TextMate for the ActionScript bundle: <http://bomberstudios.com/2007/03/14/how-to-use-consoleapp-for-flash-debugging/> Hope it helps... -- Ale Muñoz http://sofanaranja.com http://bomberstudios.com -- MTASC : no more coffee break while compiling |
|
|
Re: mtasc trace with flash debug player> Is there any other *easy* way to get trace output? I used to use xray, but it's
> no longer connecting to my program and there is no way to debug it, and the > osflash site is down. I've been using the following little hack for some time... FireFox with the firebug extension includes a way of printing to the console from javascript so getURL("javascript:if(console){console.log(\""+s+"\");}"); Prints to that console from flash, you need to fix quotes as well but you get the gist, just wrap that up in a function. -- Kriss http://XIXs.com -><- http://www.WetGenes.com -- MTASC : no more coffee break while compiling |
|
|
Re: mtasc trace with flash debug playergetURL("javascript:if(console){console.log(\""+s+"\");}"); my 2 cents. --- Eric Priou aka erixtekila Dev notes : http://www.v-i-a.net/inprogress Oregano XMLSocket server forum : http://www.v-i-a.net/forum -- MTASC : no more coffee break while compiling |
|
|
RE: mtasc trace with flash debug playerI use FlashTracer which is also firefox plugin which shows as an extra panel... https://addons.mozilla.org/en-US/firefox/addon/3469 -----Original Message----- From: mtasc-bounces@... [mailto:mtasc-bounces@...] On Behalf Of XIX Sent: Friday, August 03, 2007 2:51 AM To: MotionTwin ActionScript2 Compiler List Subject: Re: [mtasc] mtasc trace with flash debug player > Is there any other *easy* way to get trace output? I used to use xray, > but it's no longer connecting to my program and there is no way to > debug it, and the osflash site is down. I've been using the following little hack for some time... FireFox with the firebug extension includes a way of printing to the console from javascript so getURL("javascript:if(console){console.log(\""+s+"\");}"); Prints to that console from flash, you need to fix quotes as well but you get the gist, just wrap that up in a function. -- Kriss http://XIXs.com -><- http://www.WetGenes.com -- MTASC : no more coffee break while compiling -- MTASC : no more coffee break while compiling |
|
|
Re: mtasc trace with flash debug playerKalani Bright wrote:
> I use FlashTracer which is also firefox plugin which shows as an extra > panel... > https://addons.mozilla.org/en-US/firefox/addon/3469 > > > > -----Original Message----- > From: mtasc-bounces@... > [mailto:mtasc-bounces@...] On Behalf Of XIX > Sent: Friday, August 03, 2007 2:51 AM > To: MotionTwin ActionScript2 Compiler List > Subject: Re: [mtasc] mtasc trace with flash debug player > > >> Is there any other *easy* way to get trace output? I used to use xray, >> but it's no longer connecting to my program and there is no way to >> debug it, and the osflash site is down. >> Once you install the debug player, place a file named mm.cfg containing this: ErrorReportingEnable=1 TraceOutputFileEnable=1 TraceOutputFileName=C:\flashlog.txt in your home directory. In winxp, that's c:/Documents and Settings/[username]. Once you restart flash, you should be able to tail -f that file to see the trace output as it rolls by. - josh -- MTASC : no more coffee break while compiling |
| Free embeddable forum powered by Nabble | Forum Help |