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.

CCSv5 - Debug Server Scripting - "CCSServer.openSession() failed"



Hi

I'm try to get a java script which was used for Debug Server Scripting with CCSv4 working for CCSv5. But there is one problem, if I try to start CCSv5 out of the script I get an error message. The commands to start CCS from the script are:

server = script.getServer("CCSServer.1");
session = server.openSession(".*");

The second command ends up with the error message below:

CCSServer.openSession() failed. DSS was unable to launch Code Composer Studio, however script execution will continue. java.lang.ClassNotFoundException: org.eclipse.core.launcher.Main

Is there may be a problem with line 39 in the dss.bat file in "C:\....\Texas Instruments\ccsv5\ccs_base_5.0.0.00095\scripting\bin"? I cann't find the file "startup.jar" in the CCSv5 install directory. I attached my dss_debug_ccsv5.bat file which equals the original file except that I'm calling the RHINO_DEBUGGER. I also attached my java script which tries to start CCSv5 in line 35.

The rest of the script is working fine but without  a CCSv5 instance it's very hard to debug the java script.

I'm not sure what version of CCSv5 I'm using because HELP -> About Code Composer Studio says "Version: 5.0.0.201010041800 ", however, the CCSv5 install directory says "ccs_base_5.0.0.00095".

Is there a solution for this problem?

Thanks in advance, Jo

 

DSS_Files.zip