| Constructor and Description |
|---|
JsEngineStub(RhinoEngineDebugger rhinoDbg)
JsEngineStub constructor comment.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
eval(java.lang.String docname,
java.lang.String exp,
int lineNo)
Allow the debugger to evaluate an expression
within the current context.
|
JsContext |
getContext(int depth)
Returns the JsContext at a certain depth.
|
int |
getContextCount()
Returns the count of JsContext on the current stack.
|
JsCallbacks |
getDebugger()
Return the current debugger.
|
JsObject |
getGlobalObject()
Any execution in JavaScript happen with respect to a
global object, sort of the top-level name space for
properties.
|
java.lang.String |
getThread()
Returns name of the thread currently running in the engine
|
java.lang.String |
getThreadGroup()
Returns name of the ThreadGroup of the thread currently running in the engine
|
JsObject |
getUndefinedValue()
As per ECMA specification, each JavaScript execution
defines a unique object for the undefined value.
|
boolean |
isSuspended() |
boolean |
poll()
Allows the client debugger to poll the connection.
|
void |
run()
Stepping commands:
run: resume execution until it finishes or a breakpoint is hit.
|
void |
setDebugger(JsCallbacks debugger)
Set the associated debugger.
|
void |
stepIn() |
void |
stepOut() |
void |
stepOver() |
addListener, allocOid, completeFuture, createFuture, equals, getTid, getUid, hasNoUid, removeListener, suspendFuturepublic JsEngineStub(RhinoEngineDebugger rhinoDbg) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic boolean isSuspended()
throws java.rmi.RemoteException
isSuspended in interface JsEnginejava.rmi.RemoteExceptionpublic boolean poll()
JsEnginepublic java.lang.Object eval(java.lang.String docname,
java.lang.String exp,
int lineNo)
throws java.rmi.RemoteException
JsEnginepublic JsContext getContext(int depth) throws java.rmi.RemoteException
JsEnginegetContext in interface JsEnginejava.rmi.RemoteExceptionpublic int getContextCount()
throws java.rmi.RemoteException
JsEnginegetContextCount in interface JsEnginejava.rmi.RemoteExceptionpublic java.lang.String getThread()
throws java.rmi.RemoteException
JsEnginepublic java.lang.String getThreadGroup()
throws java.rmi.RemoteException
JsEnginegetThreadGroup in interface JsEnginejava.rmi.RemoteExceptionpublic JsCallbacks getDebugger() throws java.rmi.RemoteException
getDebugger in interface JsEnginejava.rmi.RemoteExceptionpublic JsObject getGlobalObject() throws java.rmi.RemoteException
JsEnginegetGlobalObject in interface JsEnginejava.rmi.RemoteExceptionpublic JsObject getUndefinedValue() throws java.rmi.RemoteException
JsEnginegetUndefinedValue in interface JsEnginejava.rmi.RemoteExceptionpublic void run()
throws java.rmi.RemoteException
JsEnginepublic void setDebugger(JsCallbacks debugger) throws java.rmi.RemoteException
setDebugger in interface JsEnginedebugger - the debugger to be used on callbacks from
the engine.java.rmi.RemoteExceptionpublic void stepIn()
throws java.rmi.RemoteException
public void stepOut()
throws java.rmi.RemoteException