AW: [mtasc] Debugging MTASC applications
Sönke Rohde
rohde at rivavx.com
Wed Nov 17 09:17:01 CET 2004
Hello,
Check the flashcoders thread " [Flashcoders] New Debug Tool :: Admin Tool"
which was posted a few hours a go. Is a Flash-App wrapped by Flash Studio
Pro and works on PC+MAC. The app is currently in beta.
Cheers,
Sönke
> -----Ursprüngliche Nachricht-----
> Von: mtasc-bounces at lists.motion-twin.com
> [mailto:mtasc-bounces at lists.motion-twin.com] Im Auftrag von erixtekila
> Gesendet: Dienstag, 16. November 2004 21:08
> An: MotionTwin ActionScript2 Compiler List; jgarnet at mamutserver.com
> Betreff: Re: [mtasc] Debugging MTASC applications
>
> Unfortunaly, they only did an .exe
> It seems that it is java, but why don't provide .jar anyhow ?
>
> Anyway, there is an alternative for true java runtime
> environment
hm hm :
> http://24.199.22.228/flash/debugger.html
>
> enjoy.
>
> Le 16 nov. 04, à 15:38, Joan Garnet a écrit :
>
> > Well, I just wanted to contribute with a tip that could
> help someone
> > :) In order to have a way of debugging mtasc applications there's a
> > very nice tool called POWERFLASHER SOS (SocketOutputServer)
> The link:
> > http://sos.powerflasher.com/ With this tool and this little
> class you
> > can "debug" your mtasc app
> > easily:
> >
> > Debugger.as
> >
> ----------------------------------------------------------------------
> > -
> > ---
> > class Debugger
> > {
> > static public var myXMLSocket:XMLSocket;
> > /*
> > * starts Debugger engine
> > */
> > static public function startDebugger (Void):Void
> > {
> > Debugger.myXMLSocket = new XMLSocket();
> > Debugger.myXMLSocket.connect ( "localhost", 4444 );
> > }
> >
> > /*
> > * sends the message to trace to the output window
> > */ static public function trace ( message:String ):Void
> > {
> > Debugger.myXMLSocket.send ( message +"\n" );
> > }
> >
> > /*
> > * sends the number of milliseconds that have elapsed
> since the SWF
> > file started playing to the output window
> > */ static public function getTime ( message:String ):Void
> > {
> > Debugger.myXMLSocket.send (">>> Time: "+getTimer()+"\n");
> > }
> > }
> >
> ----------------------------------------------------------------------
> > -
> > ---
> >
> > Then just import the class and use:
> > Debugger.trace ("This is a message");
> >
> > I hope it helps ;)
> > --
> > MTASC : no more coffee break while compiling
> >
> > ___[ Pub
> ]____________________________________________________________
> > Inscrivez-vous gratuitement sur Tandaime, Le site de rencontres !
> > http://rencontre.rencontres.com/index.php?origine=4
> >
>
> --
> MTASC : no more coffee break while compiling
>
>
More information about the mtasc
mailing list