Hi,

I like to pepper my code with a heap of trace statements so I can see
execution flow.

When I go to deploy to production I compile with debug=false. Are the trace
statements stripped out / ignored or do they still execute?

Also is there any way to get trace to output the function it is running in
automagically. I'm wondering if there is a short cut for the below:

public function myMethod():void
{
trace(this+".myMethod"+"some variables");
}

'this' gives the object name but I have to hand code the myMethod().

Thanks
S

Reply via email to