Save This Page
Home » bsf-src-2.4.0 » org.apache.bsf.debug.meta » [javadoc | source]
org.apache.bsf.debug.meta
public class: DebugManagerStub [javadoc | source]
java.lang.Object
   org.apache.bsf.debug.util.Stub
      org.apache.bsf.debug.meta.DebugManagerStub

All Implemented Interfaces:
    BSFDebugManager, RemoteService

Field Summary
protected  Vector fEngines     
Fields inherited from org.apache.bsf.debug.util.Stub:
UNDEFINED,  NOT_FOUND,  m_tid,  m_uid,  m_revoked,  m_con
Constructor:
 public DebugManagerStub(SocketConnection con) throws IOException 
Method from org.apache.bsf.debug.meta.DebugManagerStub Summary:
disconnectNotify,   engineCreateNotify,   getLangFromFilename,   isLanguageRegistered,   placeBreakpointAtLine,   placeBreakpointAtOffset,   registerDebugger,   removeBreakpoint,   sendQuitNotice,   setEntryExit,   supportBreakpointAtLine,   supportBreakpointAtOffset,   unregisterDebugger
Methods from org.apache.bsf.debug.util.Stub:
Init,   addListener,   completeFuture,   createFuture,   equals,   getConnection,   getTid,   getUid,   removeListener,   revokeFuture,   revoked,   suspendFuture,   swizzle
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.bsf.debug.meta.DebugManagerStub Detail:
 public  void disconnectNotify(Exception ex) 
    A communication error occured, simply disconnect and therefore clean everything up.
  void engineCreateNotify(JsEngineStub eng) 
 public String getLangFromFilename(String fileName) throws RemoteException 
    Determine the language of a script file by looking at the file extension.
 public boolean isLanguageRegistered(String lang) throws RemoteException 
    Determine whether a language is registered.
 public  void placeBreakpointAtLine(int bpid,
    String docname,
    int lineno) throws RemoteException 
    Breakpoints are placed within documents either at a specific line or offset. While breakpoints can be set at lines and offsets in the same document, there is no conversions between lines and offsets. Some engines may support only offsets or only lines and therefore some breakpoints may be ignored. Placing a breakpoint is local to a debugger connection. In other words, breakpoints set by other debuggers are not visible to a given debugger. Breakpoints are given identifiers so to make easier for debuggers to manipulate breakpoints. Identifiers are allocated by the debugger; they must be unique for the entire session between that debugger and the debug manager.
 public  void placeBreakpointAtOffset(int bpid,
    String docname,
    int offset) throws RemoteException 
 public  void registerDebugger(String lang,
    BSFDebugger debugger) throws RemoteException 
    Register a debugger for a scripting engine.
 public  void removeBreakpoint(String docname,
    int bpid) throws RemoteException 
    Allows to remove a breakpoint.
 public  void sendQuitNotice() throws RemoteException 
 public  void setEntryExit(String docname,
    boolean on) throws RemoteException 
    Allows setting entry/exit mode
 public boolean supportBreakpointAtLine(String lang) throws RemoteException 
 public boolean supportBreakpointAtOffset(String lang) throws RemoteException 
    Allows a debugger to ask if the engine for a given language will support either line or offset breakpoints. Note: this will most likely provoke the loading of the engine.
 public  void unregisterDebugger(String lang) throws RemoteException