-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workers doesn't work with ADL launch via Adobe Animate #399
Comments
The same problem with VSCode. |
Thought this might be due to Workers needing ADL to be run with "extendedDesktop" mode, but it doesn't seem like it, so this will need a bit more of an investigation... |
@ajwfrost |
Okay that should help :-) curiously it works when we run it up under a debug build of AIR, so will have to try debugging a release build... |
Hmm .. so actually it works okay with ADL from a command line? I'll check with Animate at some point too... |
@ajwfrost |
@ajwfrost But with Animate it doesn't work anyway. |
@ajwfrost Do you have any update on Animate issue? |
Hi Sorry for the delay on this one .. we've found it's due to the debugger not coping with multiple inputs/threads; basically when a connection is first made to the debugger, the runtime is set to pause so that the debugger can pass it any requests for breakpoints etc.. but with the worker, the debugger isn't sending anything so the worker is just halted waiting to be resumed.. We can work around this for now, but it does seem as if the debugger still isn't able to pick up information from this other connection, which means that traces aren't coming out from the worker to Animate. You can see them happening in that Scout window though. There will need to be an update to the debugger at some point I guess.... So -> there will be a bug fix so that the workers do actually start when they're running with an active debugger like from Animate -> but the debug information (traces) and breakpoints won't work in a secondary worker. thanks |
Traces and breakpoints would be nice, but they can be handled throughout messageChannel so it's not a priority. But without execution of worker it's really hard to work on development. |
This fix will be great and allow to test multithreaded AIR applications. |
Fixed with latest AIR 50. But with real complex application we still have troubles with related issue #2385 |
@myflashlab adding you into this one too....
Note: FDB is provided under the terms of the below Apache license. thanks |
Thanks Andrew! |
Problem Description
Workers doesn't work with ADL launch via Adobe Animate.
Worker
actually cannot be started. No any exceptions or errors.So AIR application that uses
Worker
cannot be tested with Adobe Animate.It has been tested with multiple AIR versions (even with latest AIR 33.1.1.190), different Adobe Animate versions (even with latest 20.5) with different Windows and macOS devices with different OS versions.
Same problem in all cases.
It works fine with Flash Develop.
After packaging application and launching it (without ADL) it also works fine.
Tracker issue: https://tracker.adobe.com/#/view/AIR-4084050
Steps to Reproduce
Launch code below with Adobe Animate. It just start
Worker
and make trace inside it.You should use Adobe Scout with enabled "Start sessions for ActionScript Workers" to see it better:
Application example with sources attached.
worker_bug.zip
Actual Result:
Worker
actually not started. There is not trace fromWorker
and there is no Worker session with Adobe Scout.Expected Result:
Worker
will be started. You will see trace from it and you will see Worker session with Adobe Scout.Known Workarounds
Use another IDE.
The text was updated successfully, but these errors were encountered: