Hi,
It is about DSS from Java.
I am using the following code to lauch a CCSServer for debug, but a line of code has a compiler error, see the highlighted. What is the problem?
Br,
AppleCat
ScriptingEnvironment env = ScriptingEnvironment.instance();
CCSServer debugServer = null;
CCSSession debugSession = null;
try
{
// // Get the Debug Server and start a Debug Session
debugServer = (CCSServer) env.getServer("CCSServer.1");
//debugServer = (DebugServer) env.getServer("CCSServer.1");
//debugServer.setConfig("C:/Program Files/Texas Instruments/ccsv4/scripting/examples/C64/tisim_c64xple.ccxml");
//debugServer.setConfig("../scripting/examples/C64/tisim_c64xple.ccxml");
//ebugSession = (CCSSession) debugServer.openSession("New_configuration");
debugSession = (CCSSession) debugServer.openSession(".*");
// Load a program
debugSession.memory.loadProgram("C:/Program Files/Texas Instruments/ccsv4/scripting/examples/C64/modem/Debug/modem.out"); // debugSession.memory cannot be resolved or is not a field.
}
catch (Exception e)
{
System.out.print(""+e+" Exception catched!!");
}