Other Parts Discussed in Thread: CCSTUDIO
Dear CCSv4 Team,
I'm about to develop an eclipse plug-in (Eclipse Version 3.2.0, Java version 1.5.0_14) for CCSv4.
The plug-in is activated by pressing a button from the toolbar menu. Its task is to start the debugger,
load a target binary, set breakpoints, and read and write data from and to the target. At first I start the
TI debugger and thereafter the plug-in.
The problem I encounter now is that a call to ScriptingEnvironment.instance() results in the following
error message contained in eclipse's ".log" file:
java.lang.ClassCastException: com.ti.ccstudio.scripting.environment.DirectedConsoleHandler
at com.ti.ccstudio.scripting.environment.ScriptingEnvironment.initializeParentLogger(ScriptingEnvironment.java:117)
at com.ti.ccstudio.scripting.environment.ScriptingEnvironment.<init>(ScriptingEnvironment.java:77)
at com.ti.ccstudio.scripting.environment.ScriptingEnvironment.instance(ScriptingEnvironment.java:60)
...
If I start the plug-in at first the TI debugger and the Code Composer crashs displaying the following message
in a dialog box:
Runtime Error!
Program: C:\...
R6025
- pure virtual function call
and the ".log" file now says:
java.lang.NoClassDefFoundError: org/mozilla/xpcom/XPCOMException
at com.ti.debug.engine.cce.CCEDebugEngine$Factory.createInstanceNoAddref(CCEDebugEngine.java:32)
at com.ti.debug.engine.scripting.DebugServer.start(DebugServer.java:629)
at com.ti.debug.engine.scripting.DebugServer$SessionFactory.<init>(DebugServer.java:139)
at com.ti.debug.engine.scripting.DebugServer.openSession(DebugServer.java:1330)
Thanks a lot for your help!
Ben