AIR Runtime 33.1 and AIR SDK 33.1 - is "stacktrace" output supported in production releases? #2235
Replies: 8 comments 29 replies
-
Quite vague and I cannot tell for sure but we did fail for everything we tried (using compiler args like debug mode, verbose stack traces, ...). EDIT: We were never able to see the line numbers in the stacktraces (stacktraces do work well!) |
Beta Was this translation helpful? Give feedback.
-
For us in our release build (debug=false) the stack traces work well but
the line numbers are not shown.
Anyone already tested if the debug version has a huge impact on performance?
Em ter., 25 de out. de 2022 às 14:10, TaS-Sensys ***@***.***>
escreveu:
… Yes, I can confirm the release build will return stacktraces with adb
(debug=false), but I need to confirm if the release build can support the
feature with the production Harman/AdobeAir.exe installation.
(I don't know if the feature ever worked pre Harman releases, from my
reading it seems it did with Adobe Air 3.5+ or even earlier)
I am ALSO open to suggestions for stacktrace alternatives I could put in
the UncaughtErrorEvent handler to indicate where in the code the problem
occurred - this feature works well, I want my userbase to send me bugs/get
prompted to restart the program to avoid corrupting behaviors that NOT
catching these errors results in!
Thanks!
—
Reply to this email directly, view it on GitHub
<#2235 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFCZGYMHYXHWHNY45K37FXDWFAICBANCNFSM6AAAAAARNNP6ZQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: <airsdk/Adobe-Runtime-Support/repo-discussions/2235/comments/3962635@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
fwiw i have been outputting stack traces via uncaught exception events for literally years -- first from flashplayer on the web, then from an Air captive runtime both in debug and release versions. Running from adl you get line numbers, but packed up with adt you don't. My release versions don't have any switch for "debugging = true" anywhere so i've always considered this an intrinsic feature (perhaps ignorantly) . I publish my main swf via Animate, but the loader (and packaging) is built via VSCode. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the replies - just like the Internet, it seems the stacktraces are working in the release builds for some users but not others! To be specific, my AIR targets are the Windows-based AIR Runtimes |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Bueller? Bueller? Got a nice feature if I get this output going :) |
Beta Was this translation helpful? Give feedback.
-
okay, answering my own question - the fix is a bit of a hack, but MAYBE SOMETHING THAT CAN BE ADDED TO THE RUNTIME? THIS works for me UNDER WINDOWS 10
Again, how/could this be added to the runtime? I might modify my installer to automate this approach. |
Beta Was this translation helpful? Give feedback.
-
are this new config working? i don't find anything related in the releases notes. @ajwfrost |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am able to get stacktrace output from the "adb.exe" launched applications with AIR and SDK 33.1, BUT only get
"null" as the stacktrace when running the "production release"
From my reading of older Adobe documentation, I should be able to get a stacktrace without line numbers, which would
be a big improvement over "null".
(https://stackoverflow.com/questions/4473059/how-can-i-get-stacktrace-for-adobe-air-global-runtime-errors-in-non-debug-mode)
I WANT the stacktrace so application users can report "UncaughtErrorEvents()" popping up deep inside the code that are currently
silently corrupting the running software.
(https://stackoverflow.com/questions/16073357/actionscript-compiler-uncaughterrorevent)
Am I missing any configurations? I am using "true" in frameworks/air-config.xml and "-compiler.verbose-stacktraces=true" arguments in my ant build.xml
Thanks
-Todd
PS: similar issues using very old air compiler v 2.0.2, but this might be too old, but is still running against Air runtime 33.1!
Beta Was this translation helpful? Give feedback.
All reactions