org.apache.bsf.debug.meta
public class DebugManagerStub extends Stub implements BSFDebugManager
Field Summary | |
---|---|
protected Vector | fEngines |
Constructor Summary | |
---|---|
DebugManagerStub(SocketConnection con) |
Method Summary | |
---|---|
void | disconnectNotify(Exception ex)
A communication error occured, simply disconnect
and therefore clean everything up. |
String | getLangFromFilename(String fileName)
Determine the language of a script file by looking at the file
extension.
|
boolean | isLanguageRegistered(String lang)
Determine whether a language is registered.
|
void | placeBreakpointAtLine(int bpid, String docname, int lineno)
Breakpoints are placed within documents either at a specific line
or offset. |
void | placeBreakpointAtOffset(int bpid, String docname, int offset) |
void | registerDebugger(String lang, BSFDebugger debugger)
Register a debugger for a scripting engine.
|
void | removeBreakpoint(String docname, int bpid)
Allows to remove a breakpoint. |
void | sendQuitNotice() |
void | setEntryExit(String docname, boolean on)
Allows setting entry/exit mode |
boolean | supportBreakpointAtLine(String lang) |
boolean | supportBreakpointAtOffset(String lang)
Allows a debugger to ask if the engine for a given language
will support either line or offset breakpoints.
|
void | unregisterDebugger(String lang) |
Parameters: filename the name of the file
Returns: the scripting language the file is in if the file extension is known to me (must have been registered via registerScriptingEngine).
Throws: RemoteException if file's extension is unknown.
Parameters: lang string identifying a language
Returns: true iff it is
Parameters: lang string identifying language
Throws: 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.