org.apache.bsf.dbline
Class JsDb
public
class
JsDb
extends Object
implements Runnable
Method Summary |
void | addBreakpoint(String buffername, int lineno) |
Buffer | addBuffer(String filename, String uri) |
boolean | cmdParser(String line) |
void | createdEngine(JsEngine engine) |
void | deletedEngine(JsEngine engine) |
void | down() |
static void | exitDebugger(int status) |
void | handleBreakpointHit(JsContext top)
initialize the engine. put the manager into the context -> manager
map hashtable too. |
void | handleEngineStopped(JsContext cx) |
void | handleExceptionThrown(JsContext top, Object exception) |
void | handleSteppingDone(JsContext top)
initialize the engine. put the manager into the context -> manager
map hashtable too. |
void | listBreakpoints() |
void | listBuffer() |
void | listBuffer(String buffername, int start) |
void | listBufferLines(Buffer buffer, int start, int count, Context cx) |
void | listBuffers() |
void | listFrames() |
static void | main(String[] args) |
boolean | parseCmd(String line)
Parses a command line.
|
String | readCmd() |
void | run() |
void | showCurrentFrame() |
void | showObject(Integer oid, boolean all) |
void | showPrototype(Integer oid, boolean all) |
void | showScope(Integer oid, boolean all) |
void | showThrInfo() |
void | up() |
public JsDb(String[] args)
public void addBreakpoint(String buffername, int lineno)
public
Buffer addBuffer(String filename, String uri)
public boolean cmdParser(String line)
public void createdEngine(
JsEngine engine)
public void deletedEngine(
JsEngine engine)
public void down()
public static void exitDebugger(int status)
public void handleBreakpointHit(
JsContext top)
initialize the engine. put the manager into the context -> manager
map hashtable too.
public void handleEngineStopped(
JsContext cx)
public void handleExceptionThrown(
JsContext top, Object exception)
public void handleSteppingDone(
JsContext top)
initialize the engine. put the manager into the context -> manager
map hashtable too.
public void listBreakpoints()
public void listBuffer()
public void listBuffer(String buffername, int start)
public void listBufferLines(
Buffer buffer, int start, int count,
Context cx)
public void listBuffers()
public void listFrames()
public static void main(String[] args)
public boolean parseCmd(String line)
Parses a command line.
Returns true if input needs to be suspended,
that is, if the command was to resume execution
in the debugged engine.
public String readCmd()
public void run()
public void showCurrentFrame()
public void showObject(Integer oid, boolean all)
public void showPrototype(Integer oid, boolean all)
public void showScope(Integer oid, boolean all)
public void showThrInfo()
public void up()