ExtendScript debugging in Adobe Animate cc 2017
Copy link to clipboard
Copied
Hi,
I've been searching a lot on forums but nothing works properly. Is there any way to debug ExtendScript in Adobe Animate CC?
Thanks.
Copy link to clipboard
Copied
Animate CC does not support ExtendScript.
However, You can reference JavaScript API in below.
Copy link to clipboard
Copied
Ten A, thanks for shearing the reference. How can I debug the host/index.jsx file?
Copy link to clipboard
Copied
Have you already check Capter1 in below article?
http://help.adobe.com/en_US/flash/cs/extend/flash_extending_reference.pdf
AnimateCC's JavaScript called JSFL, not ExtendScript.
Copy link to clipboard
Copied
Yes, I've checked chapter 1 but haven't found the script debugging instructions.
Copy link to clipboard
Copied
JSFL doesn't have any tool for debugging. You can run JSFL file simply, Select Commands > Run Command, and then select the script.
We often use fl.trace() method to get debug message in the output panel.
Here is a sample code from the previous document.
fl.outputPanel.clear();
fl.trace("Hello World!!!");
var myPet = "cat";
fl.trace("\nI have a " + myPet);
fl.trace("");
fl.trace("I love my " + myPet);
fl.trace("Do you have a " + myPet +"?");
Copy link to clipboard
Copied
This method works, though it's not user-friendly, for instance the result in the output panel is not structured and so on. Anyways better than nothing 😃 Thanks a lot for help.
Copy link to clipboard
Copied
ellie.mcconan wrote
This method works, though it's not user-friendly
I certainly hope you don't have your users doing debugging for you.

