[flexcoders] Unable to get trace to work...

2006-08-31 Thread Kyle
I am writing some classes and am trying to use trace statements to
test my methods; however, when I run (or debug) my application, my
trace statements are not being output to the console window. Does
anyone know if there is some setting or preference that I might be
missing, or know what might be causing this?

My test class looks like this:

package {
import flash.display.MovieClip;

public class ProgrammingBasics extends MovieClip {

private var _quantity:Number;

public function ProgrammingBasics() {
_quantity = 5;
runTrace();
}

private function runTrace():void {
trace(getTraceValue());
}

private function getTraceValue():Number {
return _quantity;
}
}
}



The console output looks like this:
[SWF] C:\Documents and Settings\kyle_vmix\My Documents\vMix\FLEX
PRACTICE\bin\ProgrammingBasics-debug.swf - 395,243 bytes after
decompression


Thanks!

-Kyle






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

* 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] Unable to get trace to work...

2006-08-31 Thread Deepa Subramaniam
Do you have an mm.cfg file that enables tracing and sets the trace
output file name and location? 

Here's a technote about how to get mm.cfg set up correctly: 

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19323 

One that is all set up, your trace statements will be outputted to the
file you specify and you can just tail that for all runtime trace
statements. 

-deepa

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kyle
Sent: Thursday, August 31, 2006 10:19 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Unable to get trace to work...

I am writing some classes and am trying to use trace statements to
test my methods; however, when I run (or debug) my application, my
trace statements are not being output to the console window. Does
anyone know if there is some setting or preference that I might be
missing, or know what might be causing this?

My test class looks like this:

package {
import flash.display.MovieClip;

public class ProgrammingBasics extends MovieClip {

private var _quantity:Number;

public function ProgrammingBasics() {
_quantity = 5;
runTrace();
}

private function runTrace():void {
trace(getTraceValue());
}

private function getTraceValue():Number {
return _quantity;
}
}
}



The console output looks like this:
[SWF] C:\Documents and Settings\kyle_vmix\My Documents\vMix\FLEX
PRACTICE\bin\ProgrammingBasics-debug.swf - 395,243 bytes after
decompression


Thanks!

-Kyle






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



 




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

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