ExtendScript Toolkit Debugger Error #1116

Ash Ryan Arnwine
Nov 20, 2018 · 2 min read

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

Updated Monday, Feb. 25: An ExtrendScript Debugger for Visual Studio Code is now available in the Visual Studio Code Marketplace. Read more about it.

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.

For more stories like this, subscribe to our Creative Cloud Developer Newsletter.

Adobe Tech Blog

News, updates, and thoughts related to Adobe, developers…

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store