trace() is not working in flashbuilder 4?

Abhilash Muthuraj picture Abhilash Muthuraj · Dec 18, 2009 · Viewed 14.3k times · Source

i'm trying to use actionscript 3.0 and using trace(), it never outputs content of trace of variable either in flash player or in output area? how to coorect or should i enable something? whats the problem?

Answer

dw.mackie picture dw.mackie · Dec 18, 2009

As others have pointed out, trace only works when in debug.
If you want information to get dumped out when running "release", you'll need to use the logging api that flex provides.