public class DebugManagerStub extends Stub implements BSFDebugManager
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Vector |
fEngines |
| Constructor and Description |
|---|
DebugManagerStub(SocketConnection con) |
| Modifier and Type | Method and Description |
|---|---|
void |
disconnectNotify(java.lang.Exception ex)
A communication error occured, simply disconnect
and therefore clean everything up.
|
java.lang.String |
getLangFromFilename(java.lang.String fileName)
Determine the language of a script file by looking at the file
extension.
|
boolean |
isLanguageRegistered(java.lang.String lang)
Determine whether a language is registered.
|
void |
placeBreakpointAtLine(int bpid,
java.lang.String docname,
int lineno)
Breakpoints are placed within documents either at a specific line
or offset.
|
void |
placeBreakpointAtOffset(int bpid,
java.lang.String docname,
int offset) |
void |
registerDebugger(java.lang.String lang,
BSFDebugger debugger)
Register a debugger for a scripting engine.
|
void |
removeBreakpoint(java.lang.String docname,
int bpid)
Allows to remove a breakpoint.
|
void |
sendQuitNotice() |
void |
setEntryExit(java.lang.String docname,
boolean on)
Allows setting entry/exit mode
|
boolean |
supportBreakpointAtLine(java.lang.String lang) |
boolean |
supportBreakpointAtOffset(java.lang.String lang)
Allows a debugger to ask if the engine for a given language
will support either line or offset breakpoints.
|
void |
unregisterDebugger(java.lang.String lang) |
addListener, completeFuture, createFuture, equals, getConnection, getTid, getUid, Init, removeListener, revoked, revokeFuture, suspendFuture, swizzlepublic DebugManagerStub(SocketConnection con) throws java.io.IOException
java.io.IOExceptionpublic void disconnectNotify(java.lang.Exception ex)
public void sendQuitNotice()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic java.lang.String getLangFromFilename(java.lang.String fileName)
throws java.rmi.RemoteException
getLangFromFilename in interface BSFDebugManagerfilename - the name of the filejava.rmi.RemoteException - if file's extension is unknown.public boolean isLanguageRegistered(java.lang.String lang)
throws java.rmi.RemoteException
isLanguageRegistered in interface BSFDebugManagerlang - string identifying a languagejava.rmi.RemoteExceptionpublic void placeBreakpointAtLine(int bpid,
java.lang.String docname,
int lineno)
throws java.rmi.RemoteException
placeBreakpointAtLine in interface BSFDebugManagerjava.rmi.RemoteExceptionpublic void placeBreakpointAtOffset(int bpid,
java.lang.String docname,
int offset)
throws java.rmi.RemoteException
placeBreakpointAtOffset in interface BSFDebugManagerjava.rmi.RemoteExceptionpublic void removeBreakpoint(java.lang.String docname,
int bpid)
throws java.rmi.RemoteException
removeBreakpoint in interface BSFDebugManagerjava.rmi.RemoteExceptionpublic void setEntryExit(java.lang.String docname,
boolean on)
throws java.rmi.RemoteException
setEntryExit in interface BSFDebugManagerjava.rmi.RemoteExceptionpublic boolean supportBreakpointAtOffset(java.lang.String lang)
throws java.rmi.RemoteException
supportBreakpointAtOffset in interface BSFDebugManagerjava.rmi.RemoteExceptionpublic boolean supportBreakpointAtLine(java.lang.String lang)
throws java.rmi.RemoteException
supportBreakpointAtLine in interface BSFDebugManagerjava.rmi.RemoteExceptionpublic void registerDebugger(java.lang.String lang,
BSFDebugger debugger)
throws java.rmi.RemoteException
registerDebugger in interface BSFDebugManagerlang - string identifying languagejava.rmi.RemoteException - if the language is unknown (i.e., if it
has not been registered) with a reason of
REASON_UNKNOWN_LANGUAGE. If the language is known but
if the interface can't be created for some reason, then
the reason is set to REASON_OTHER_ERROR and the actual
exception is passed on as well.public void unregisterDebugger(java.lang.String lang)
throws java.rmi.RemoteException
unregisterDebugger in interface BSFDebugManagerjava.rmi.RemoteException