You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by "Baade, Thomas, NM-X-GPA" <Th...@bertelsmann.de> on 2022/03/01 16:36:23 UTC

Problems with getStackTrace

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 to get this running?

Greetings from Rostock / Germany
Thomas Baade

AW: Problems with getStackTrace

Posted by "Baade, Thomas, NM-X-GPA" <Th...@bertelsmann.de>.
This is the key clue. Now it works as intended.

Thank you
thomas

-----Ursprüngliche Nachricht-----
Von: Alex Harui <ah...@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" <ah...@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" <Th...@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 <ah...@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 "aharui@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" <Th...@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




Re: Problems with getStackTrace

Posted by Alex Harui <ah...@adobe.com.INVALID>.
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" <ah...@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" <Th...@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 <ah...@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 "aharui@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" <Th...@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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp.adobe.com%2Fen_US%2FFlashPlatform%2Freference%2Factionscript%2F3%2FError.html%23getStackTrace&amp;data=04%7C01%7Caharui%40adobe.com%7C038973aebc1f4262c03208d9fba9c00d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637817528771203011%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=%2BwCDOTnKh%2BWV66R6zlah8WEifVm3ubPxWnx1%2BmqgUWg%3D&amp;reserved=0() says otherwise.

            Is there a way to get this running?

            Greetings from Rostock / Germany
            Thomas Baade




Re: Problems with getStackTrace

Posted by Alex Harui <ah...@adobe.com.INVALID>.
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" <Th...@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 <ah...@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 "aharui@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" <Th...@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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp.adobe.com%2Fen_US%2FFlashPlatform%2Freference%2Factionscript%2F3%2FError.html%23getStackTrace&amp;data=04%7C01%7Caharui%40adobe.com%7C77898f751eec428f0a9a08d9fba88941%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637817523670041094%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=hFqAoXZP%2Fid5vXrQGywFQSJnQRCs%2BhqxU2%2FtiUvtHhg%3D&amp;reserved=0() says otherwise.

        Is there a way to get this running?

        Greetings from Rostock / Germany
        Thomas Baade



AW: Problems with getStackTrace

Posted by "Baade, Thomas, NM-X-GPA" <Th...@bertelsmann.de>.
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 <ah...@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 "aharui@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" <Th...@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%7Cd7d0c639abf34ec5b01008d9fba38aa3%7C1ca8bd943c974fc68955bad266b43f0b%7C0%7C0%7C637817502228229291%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=ek07nihmlIAhs33g8Jdum1%2F80IicgXkydn4XTh6W9os%3D&amp;reserved=0() says otherwise.

    Is there a way to get this running?

    Greetings from Rostock / Germany
    Thomas Baade


Re: Problems with getStackTrace

Posted by Alex Harui <ah...@adobe.com.INVALID>.
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" <Th...@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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp.adobe.com%2Fen_US%2FFlashPlatform%2Freference%2Factionscript%2F3%2FError.html%23getStackTrace&amp;data=04%7C01%7Caharui%40adobe.com%7C6da0bd045b9b4f021f8708d9fba1a773%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637817494271487592%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=yvhlD2ZXPYM5QmpQ3rRZf2cDQEAcF8fCRRIldBPOpQI%3D&amp;reserved=0() says otherwise.

    Is there a way to get this running?

    Greetings from Rostock / Germany
    Thomas Baade