This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好,
我所面临的问题与 e2e.ti.com/.../20.3182万中描述的问题相同
我正在使用 带有6.2 的2.5 .4rc1 (我也尝试了使用2.7 .0),当我尝试按照wiki的exemple使用带有调试器的Jython时,它不起作用 processors.wiki.ti.com/.../Python_Scripting_with_DSS
(我已在 wiki "Python Scripting with DSS"中获得了所有"先决条件"和"设置环境"描述)
似乎无法导入 com.ti.debug.engine.scripting或com.ti.ccStudio.scripting.environment。 确实有以下几行:
-从com.ti.debug.engine.scripting导入*
-来自com.ti.ccStudio.scripting.environment import *
返回错误:
-从com.ti.debug.engine.scripting导入*
导入错误:没有名为ti的模块
-来自 om.ti.ccStudio.scripting.environment import *
导入错误:没有名为ti的模块
您对此问题有什么解决方案吗?
谢谢
I mote the following files as mean:
<CCS BASE DIR>/DebugServer/packages/ti/DSS/java/dss.jar
<CCS BASE 3.1DIR>/DebugServer/packages/ti/dss/java/com.ti.ccStudio.scripting.environment_neds.0.jar
<CCS BASE DIR>/DebugServer/packages/ti/DSS/java/com.ti.debug.engine_1.0.0.jar
<CCS BASE DIR>/DVT/scripting/ dvt_scripting.jar
但是设置(CLASSPATH)的含义是什么?
您需要将上述路径添加到CLASSPATH中
如何实现? 请阅读以下文章:
https://docs.oracle.com/javase/tutorial/essential/environment/paths.html
我只需在运行脚本之前使用'set'命令(在Windows上)。 我在运行的批处理文件中有该命令。
示例:
set 0.0.0015万 7.4 7.4 7.4 7.4 3.1 1.0 /cd/cd/cds/cr/cds/cr/sc/scv/scv/scv/scfs/base.ccsp/cr/cds/cr/scfs/cr/scfs. 0.0.0015万 0.0.0015万 com.ti.debug.engine_0.0.0015万 dvt_scripting.jar
(请注意,我在(C:7.4 .0.0.0015万)中安装了CCS。
谢谢
KI