Extendscript Toolkit调试器失败:无法启动调试会话 [英] Extendscript Toolkit debugger fails: Can't start debug session

查看:407
本文介绍了Extendscript Toolkit调试器失败:无法启动调试会话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

本质上不是编程问题,而是我无法找到解决方案的编程环境问题。

Not a programming problem per se, but rather a programming environment problem that I have been unable to find a solution to.

该问题与Adobe的Extendscript Toolkit( 3.5和4),但到目前为止,我还无法解决问题,所以我在这里...

The problem relates to Adobe's Extendscript Toolkit (both 3.5 and 4), but so far I haven't been able to solve the problem, so here I am...

我得到的错误更多或一晚上少。我昨天或今天早上都没有遇到这个问题。但是发生的事情完全超出了我。我已经删除了首选项,卸载,重新安装,创建了新用户,并从Time Machine恢复了旧的首选项,现在我几乎迷失了所有选项。

The error I get has appeared more or less over night. I didn't experience this problem yesterday, nor this morning. But exactly WHAT has happened is beyond me. I have removed preferences, I have uninstalled, reinstalled, created a new user, restored old preferences from Time Machine and I'm now pretty much lost for options.

基本上,在ESTK中不再有效。仅打开ESTK并输入警报( Hello)将无法正常工作。 $ .writeln()也不会。在ESTK中运行的所有内容似乎都给出了相同的错误;

Basically, nothing works in ESTK anymore. Just opening ESTK and entering alert('Hello') won't work. Neither will $.writeln(). Everything running from within ESTK seems to give the same error;


无法在目标引擎主中执行脚本

Cannot execute script in target engine 'main'

详细信息:


无法在目标引擎 main中执行脚本!

Cannot execute script in target engine 'main'!

(#1116)无法启动调试会话。

(#1116) Can't start debug session.

下面是我创建的要测试的新用户的屏幕截图,同样的问题。

Below is a screenshot taken from the new user I created to test, same problem.

有趣的事情是,所有脚本(InDesign CS5,由于某些原因仍挂在它上面)仍然可以在应用程序的脚本面板中正常运行。因此,这些脚本没有任何问题(哎呀,它们一点都没改变,但仍然拒绝在ESTK中运行)。

The "funny" thing is that all the scripts (InDesign CS5, still hanging on to it for reasons) still work perfectly in the applications' script panels. So there is nothing wrong with the scripts (heck, they haven't changed one bit, and still refuses to run in ESTK).

如上所述,我已经尝试过也安装了ESTK CC(版本4),但是在那里发生了同样的问题。这使我认为问题出在其他地方,但我不知道在哪里以及为什么。

As mentioned, I've tried installing the ESTK CC (version 4) as well, but the very same problem occurs there. Which leads me to think the problem lies somewhere else, but I do not know where, and why.

因此,如果有人可以在这个问题上有所作为, ,我会很高兴。基本上,调试是ESTK在我的书中唯一适合的事情,但是现在即使该功能消失了,我也不知道如何有效地调试脚本,这会妨碍工作流程。

So, if anyone can shed any light on this issue, at all, I would be very happy. Debugging is basically the only thing ESTK is good for in my book, but now that even that functionality is gone, I don't know how to efficiently debug the scripts which is kind of hampering the workflow.

作为参考,我在装有10.11.6(El Capitan)的2008 Mac Pro上运行InDesign CS5(来自旧的Creative Suite)。众所周知,它已经过时了,但这不在这里。

For reference, I'm running InDesign CS5 (from the old Creative Suite) on a 2008 Mac Pro with 10.11.6 (El Capitan) installed. Well aware that it's pretty out of date, but that is beside the point here.

推荐答案

上文提到的论坛, Adob​​e发布了一种稳定的解决方法!您只需在estk应用程序中更正设置:

In the above mentioned forum, Adobe has published a stable workaround!You just have to correct a setting inside the estk application:



  1. 打开文件(Mac): / Applications / Adob​​e ExtendScript Toolkit CC / ExtendScript Toolkit.app/Contents/SharedSupport/Required/cdic/11BTBackend.jsx

  2. 搜索值: 604800000(行读取bt.timeout = 604800000)

  3. 用604800替换该值并保存

  4. 退出ExtendScript Toolkit并重新启动。

  1. Open the file(Mac): "/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.


我可以确认它是否有效。

I can confirm that it works.

这篇关于Extendscript Toolkit调试器失败:无法启动调试会话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆