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.

CCS: Using simple event callbacks with Debug Server Scripting (DSS)



Tool/software: Code Composer Studio

I'm trying to use the DSS events. I got a IDebugServerEventListener to work correctly and it seems to be fully functioning, but when I try to create a simple event callback with the same method it doesn't work:

Here's some examples from the scripting console:

Example: no error for server event listener:

js:> listener=new Packages.com.ti.debug.engine.scripting.IDebugServerEventListener({});

Example: error for simple event listener:

js:> listener=new Packages.com.ti.debug.engine.scripting.events.ISimpleEventCallback({});
TypeError: [JavaPackage com.ti.debug.engine.scripting.events.ISimpleEventCallback] is not a function, it is org.mozilla.javascript.NativeJavaPackage.

Example: same error, on made up name:
js:> listener=new Packages.com.ti.debug.engine.scripting.events.somethingThatDoesntExist({});
TypeError: [JavaPackage com.ti.debug.engine.scripting.events.somethingThatDoesntExist] is not a function, it is org.mozilla.javascript.NativeJavaPackage.

This seems to indicate that the interface isn't available where the documentation suggests it should be:

Is the documentation for the Simple Event Callback interface out of date? How can I implement this interface?