I want to see the stack trace in any function of my code, so i made somthing like this to call it and print the stack trace:
public function PrintStackTrace(
As of Flash 11.5, stack traces work in the release version of Flash.
However, that doesn't mean this is no longer an issue. If your application is set to use a compiler older than 11.5 in Flash Builder --> Project properties --> ActionScript Compiler
, you won't have stack traces.
Additionally, on that same page you can see your AIR SDK version. If you're using v3.4 or older, you won't see stack traces. If this is your issue, all your developers should update their AIR SDK by following the instructions here.