On windows, mm.cfg goes in your user directory... by default this will
be somewhere like:

C:\Documents and Settings\yourloginname\mm.cfg

The output file, flashlog.txt, contains messages from the debug version
of the Flash Player including any trace() statements you add to your own
ActionScript code.

I use cygwin and run the tail command to keep a console window open to
watch updates to flashlog.txt. You may want to creat a shortcut to
conveniently run the following command:

C:\cygwin\bin\tail.exe -0f "C:\flashlog.txt"

(-f means follow, but -0f follows from the end of the file so that it
looks like a fresh session when you open it despite whether the log is
empty or not)


-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Friday, April 29, 2005 5:32 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Info on debug

Hi,
i have read CHAPTER 33: Debugging Flex Applications , but i don't 
understand because don't work.
I'm using trace into my ActionScript class, here my mm.cfg

ProfilingOutputFileEnable=0
ProfilingOutputDirectory={path to directory where profiler.war is 
deployed}\WEB-INF\ProfilerData
FrameProfilingEnable=0
ProfileFunctionEnable=1
TraceOutputFileEnable=1
ErrorReportingEnable=1
TraceOutputFileName=c:\flashlog.txt                 
TraceOutputFileEnable=1
ErrorReportingEnable=1
SuppressDebuggerDialog=1
TraceLocationEnable=1

this file i have put it in c:\programmi\macromedia\flex\bin?  i have set

all value in my flex config file.
If possibile i won't use fdb, if possibile, for will be ok only print 
the var content into my TraceOutputFileName.
i'm trying to use
http://localhost:8000/jportal/view/shop/banco.mxml?debug=true and my 
IExplorer prompt the debug window, i choose the "localhost" but Flash 
Player debug return me "canno't connect debugger".
If i use fdb start http://localhost:8000/jportal/view/shop/banco.mxml 
debugger start

fdb
start http://localhost:8000/jportal/view/shop/banco.mxml
continue

But my trace don't display nothing, also because my app don't run, all 
interaction with button or amf don't work.
surely i mistake anything,  but i wish only to print some value of my 
ActionScript class into "console or file", i don't interest me put 
breakpoint or other, only to see the value of my var.
Can you help me
Devis



>  
>




 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> 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/
 



Reply via email to