1 Reply Latest reply on Apr 20, 2015 3:48 AM by Gaius Coffey

    Flex doesn't have getStackTrace() despite the docs...

    Gaius Coffey Level 2


      From here;

      Error - Adobe ActionScript® 3 (AS3 ) API Reference


      "For Flash Player 11.4 and earlier and AIR 3.4 and earlier, stack traces are only available when code is running in the debugger version of Flash Player or the AIR Debug Launcher (ADL). In non-debugger versions of those runtimes, calling this method returns null."


      Which implies that _if_ I package with a Flash Player _after_ 11.4, then I should have at least the limited stack trace (without line numbers) for any current Flash plugin and this is what I see with a pure ActionScript project.


      However, if I compile using Flex, with _any_ FlashPlayer whatsoever, .getStackTrace() seems to return nothing.


      Is there a way to configure my build so as to make getStackTrace() available?