ExtendScript Toolkit Debugger Error #1116

This is a quick post for developers using ExtendScript Toolkit for scripting Creative Cloud applications.

Updated Friday, Nov. 30: Two workarounds are explained with step-by-step instructions in this article. You can now skip this article, unless you’re curious.

Updated Wednesday, Nov. 21: Fix added. See the “Workaround” section below.

The issue

Starting today, ExtendScript developers are reporting the following error when running scripts in ExtendScript Toolkit:

Cannot execute script in target engine 'main'!
(#1116) Can't start debug session.

We are aware of this problem and are investigating it.

Workaround

Updated Friday, Nov. 30: Two workarounds are explained with step-by-step instructions in this article.

Updated Wednesday, Nov. 21: We’ve posted a fix in the forums. The fix is manual, but we’ve heard from a number of developers that it gets the job done.

  1. On Mac, open this file:
    “/Applications/Adobe ExtendScript Toolkit CC/ExtendScript Toolkit.app/Contents/SharedSupport/Required/cdic/11BTBackend.jsx”
  2. Search for the value 604800000 (line reads bt.timeout = 604800000)
  3. Replace that value with 604800, and save
  4. Quit ExtendScript Toolkit and relaunch.

See the forum thread for further info on the root cause of the issue.


Other workarounds

For the time being, if you dismiss the dialog, you can still run your script via ESTK and step through code as usual.

Alternatively, if you really want to avoid the dialogs, and you don’t mind setting your clock back, you can sidestep the issue by setting your system clock back to Nov. 19, 2018 or before. On most systems, changing the system time can have unintended side effects, so this isn’t recommended unless you’re really certain about it.

Updates

For updates regarding this issue, stayed tuned to this thread on the Adobe forums.