If you have FlexBuilder, create a Run/Debug config that points to google.com
(or whatever website) and launch that before starting
your app that contains the swf.
Another way is to have (create) a seperate app that reads the flashlog.txt
file, which is where all traces are being written to
(when enabled).
This requires that you have an mm.cfg file that enables traces to be written to
the flashlog.txt file.
The location of flashlog.txt is different on each OS.. check google for more
info.
In previous versions, the location of flashlog.txt could be specified in the
mm.cfg file, but that is no longer the case.
http://www.google.com/search?hl=en&q=flashlog.txt
http://www.google.com/search?hl=en&q=mm.cfg
http://www.adobe.com/devnet/flex/articles/client_debug_print.html
Then there's XRay, an open source flash/flex debugger:
http://osflash.org/xray
And you could of course create your own debugger using a LocalConnection and
the Logging classes.
http://livedocs.adobe.com/flex/2/langref/flash/net/LocalConnection.html
http://livedocs.adobe.com/flex/2/docs/1525.html
regards,
Muzak
- Original Message -
From: "Claudia Barnal" <[EMAIL PROTECTED]>
To:
Sent: Monday, December 17, 2007 2:34 AM
Subject: [flexcoders] Debugging outside browser
> Hi all,
>
> I'm trying to debug an application that is outside the the browser (it
> is being used inside another executable). I can't find any
> documentation that indicates how I can setup and launch a debug
> session with a SWF file that is outside the browser.
>
> Any hints and pointers are much appreciated,
> Claudia
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/