Problems with getStackTrace

2022-03-01 Thread Baade, Thomas, NM-X-GPA
Hi there, We use the AIR 33.1.1.444 runtime environment to host an application compiled with the SDK 4.9.1 The Error.getStackTrace() function always returns null. But https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Error.html#getStackTrace() says otherwise. Is there a way

Re: Problems with getStackTrace

2022-03-01 Thread Alex Harui
Hi Thomas, The doc linked says that getStackTrace() for AIR apps requires launching the app with the adl debugger/launcher. Have you using that? -Alex On 3/1/22, 8:37 AM, "Baade, Thomas, NM-X-GPA" wrote: Hi there, We use the AIR 33.1.1.444 runtime environment to host an applicatio

AW: Problems with getStackTrace

2022-03-01 Thread Baade, Thomas, NM-X-GPA
Hi, on that page I find " When code runs in a release version of Flash Player or AIR, the stack trace is provided without the file path and line number information". But that doesn't seem to work. What I can do: Add an empty file with the name "debug" to folder /META-INF/AIR/ - now getStackTra

Re: Problems with getStackTrace

2022-03-01 Thread Alex Harui
Hi Thomas, Yes, you are correct. I misread the doc. I'll ping my contact at Harman and see if he can help. -Alex On 3/1/22, 9:26 AM, "Baade, Thomas, NM-X-GPA" wrote: Hi, on that page I find " When code runs in a release version of Flash Player or AIR, the stack trace is provided

Re: Problems with getStackTrace

2022-03-01 Thread Alex Harui
Hi Thomas, My contact at Harman says to check the SWF version. If it's less than 18, that might be why getStackTrace is not working. HTH, -Alex On 3/1/22, 9:34 AM, "Alex Harui" wrote: Hi Thomas, Yes, you are correct. I misread the doc. I'll ping my contact at Harman and see if h