public class JsDb
extends java.lang.Object
implements java.lang.Runnable
| Constructor and Description |
|---|
JsDb(java.lang.String[] args) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBreakpoint(java.lang.String buffername,
int lineno) |
Buffer |
addBuffer(java.lang.String filename,
java.lang.String uri) |
boolean |
cmdParser(java.lang.String line) |
void |
createdEngine(JsEngine engine) |
void |
deletedEngine(JsEngine engine) |
void |
down() |
static void |
exitDebugger(int status) |
void |
handleBreakpointHit(JsContext top)
initialize the engine.
|
void |
handleEngineStopped(JsContext cx) |
void |
handleExceptionThrown(JsContext top,
java.lang.Object exception) |
void |
handleSteppingDone(JsContext top)
initialize the engine.
|
void |
listBreakpoints() |
void |
listBuffer() |
void |
listBuffer(java.lang.String buffername,
int start) |
void |
listBufferLines(Buffer buffer,
int start,
int count,
Context cx) |
void |
listBuffers() |
void |
listFrames() |
static void |
main(java.lang.String[] args) |
boolean |
parseCmd(java.lang.String line)
Parses a command line.
|
java.lang.String |
readCmd() |
void |
run() |
void |
showCurrentFrame() |
void |
showObject(java.lang.Integer oid,
boolean all) |
void |
showPrototype(java.lang.Integer oid,
boolean all) |
void |
showScope(java.lang.Integer oid,
boolean all) |
void |
showThrInfo() |
void |
up() |
public JsDb(java.lang.String[] args)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void run()
run in interface java.lang.Runnablepublic java.lang.String readCmd()
public boolean parseCmd(java.lang.String line)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic boolean cmdParser(java.lang.String line)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void addBreakpoint(java.lang.String buffername,
int lineno)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic Buffer addBuffer(java.lang.String filename, java.lang.String uri)
public void createdEngine(JsEngine engine) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void deletedEngine(JsEngine engine)
public void down()
public void showThrInfo()
public static void exitDebugger(int status)
public void handleBreakpointHit(JsContext top) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void handleEngineStopped(JsContext cx)
public void handleExceptionThrown(JsContext top, java.lang.Object exception) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void handleSteppingDone(JsContext top) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void listBreakpoints()
public void listBuffer()
public void listBuffer(java.lang.String buffername,
int start)
public void listBuffers()
public void listFrames()
public static void main(java.lang.String[] args)
public void showCurrentFrame()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void showObject(java.lang.Integer oid,
boolean all)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void showScope(java.lang.Integer oid,
boolean all)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void showPrototype(java.lang.Integer oid,
boolean all)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void up()