1 55 56 package org.apache.bsf.debug.jsdi; 57 58 import java.rmi.Remote ; 59 import java.rmi.RemoteException ; 60 61 75 public interface JsEngine extends Remote { 76 77 80 public boolean poll() throws RemoteException ; 81 82 87 public void setDebugger(JsCallbacks debugger) throws RemoteException ; 88 89 93 public JsCallbacks getDebugger() throws RemoteException ; 94 95 96 100 public Object eval(String docname, String fnOrScript, int lineno) 101 throws RemoteException ; 102 103 109 public int getContextCount() 110 throws RemoteException ; 111 112 115 public String getThread() 116 throws RemoteException ; 117 118 121 public String getThreadGroup() 122 throws RemoteException ; 123 124 133 public JsContext getContext(int depth) 134 throws RemoteException ; 135 140 public JsObject getGlobalObject() 141 throws RemoteException ; 142 143 147 public JsObject getUndefinedValue() 148 throws RemoteException ; 149 150 157 public void run() throws RemoteException ; 158 public void stepIn() throws RemoteException ; 159 public void stepOut() throws RemoteException ; 160 public void stepOver() throws RemoteException ; 161 162 public boolean isSuspended() throws RemoteException ; 163 164 } 165 | Popular Tags |