Re: [flexcoders] Debugging outside browser

2007-12-16 Thread Muzak
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/
 


Re: [flexcoders] Debugging outside browser

2007-12-16 Thread Adam Pasztory
In your project properties, go to Flex Compiler, and uncheck the box that
says "Generate HTML wrapper file".  Now when you run your project from Flex,
it will launch the standalone player instead of the browser.  You can also
debug right into the standalone player.

It took me a long time to figure this one out.  I have to say that in most
cases it's much more pleasant to test with the standalone player instead of
the browser!

-Adam

On Dec 16, 2007 5:34 PM, Claudia Barnal <[EMAIL PROTECTED]> wrote:

>   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] Debugging outside browser

2007-12-16 Thread Claudia Barnal
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