This is the key clue. Now it works as intended.

Thank you
thomas

-----Ursprüngliche Nachricht-----
Von: Alex Harui <aha...@adobe.com.INVALID> 
Gesendet: Dienstag, 1. März 2022 20:23
An: users@flex.apache.org
Betreff: Re: Problems with getStackTrace

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" <aha...@adobe.com.INVALID> wrote:

    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" <thomas.ba...@bertelsmann.de> 
wrote:

        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 getStackTrace() works but the application is much slower.

        thomas

        -----Ursprüngliche Nachricht-----
        Von: Alex Harui <aha...@adobe.com.INVALID> 
        Gesendet: Dienstag, 1. März 2022 17:50
        An: users@flex.apache.org
        Betreff: Re: Problems with getStackTrace

        [Sie erhalten nicht oft E-Mail von "aha...@adobe.com.invalid". Weitere 
Informationen, warum dies wichtig ist, finden Sie unter 
"http://aka.ms/LearnAboutSenderIdentification";.]

        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" 
<thomas.ba...@bertelsmann.de> wrote:

            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://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp.adobe.com%2Fen_US%2FFlashPlatform%2Freference%2Factionscript%2F3%2FError.html%23getStackTrace&amp;data=04%7C01%7CThomas.Baade%40bertelsmann.de%7Cf989970ffcb84b48cd6308d9fbb8e214%7C1ca8bd943c974fc68955bad266b43f0b%7C0%7C0%7C637817593899242726%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=EvDuEastR1E3OY%2FMvHSNNS6NPwIcBq5JTM5hclknO9I%3D&amp;reserved=0()
 says otherwise.

            Is there a way to get this running?

            Greetings from Rostock / Germany
            Thomas Baade



Reply via email to