org.apache.bsf.debug.jsdi
Interface JsCallbacks
- Remote, RemoteService
- Callbacks, DebuggerStub, JsCallbacksStub
public interface JsCallbacks
This interface is the callback for the JavaScript
debugger.
IMPORTANT:
JASON: it is likely to be modified when moving to the
JDI-like event listening framework.
IMPORTANT TWO:
Missing support for watching objects.
handleBreakpointHit
public void handleBreakpointHit(JsContext cx)
throws RemoteException
Callback when a breakpoint is hit in the debuggee.
The debuggee is suspended until this call returns.
handleEngineStopped
public void handleEngineStopped(JsContext cx)
throws RemoteException
Callback when an engine stops after a stop-request.
The debuggee is suspended until this call returns.
handleExceptionThrown
public void handleExceptionThrown(JsContext cx,
Object exception)
throws RemoteException
Callback when an exception is thrown in the debuggee.
The debuggee is suspended until this call returns.
handleSteppingDone
public void handleSteppingDone(JsContext cx)
throws RemoteException
Callback when a step-request has finished.
The debuggee is suspended until this call returns.
poll
public boolean poll()
throws RemoteException
Allows the server to poll the connection.