|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.eclipse.m2m.atl.debug.core.adwp.ADWP
org.eclipse.m2m.atl.debug.core.adwp.ADWPDebugger
public class ADWPDebugger
The ADWP debugger.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class org.eclipse.m2m.atl.debug.core.adwp.ADWP |
---|
CMD_CALL, CMD_CONTINUE, CMD_DISASSEMBLE, CMD_FINISH, CMD_GET, CMD_QUERY, CMD_SET, CMD_SET_BP, CMD_STEP, CMD_STEP_OVER, CMD_UNSET_BP, in, MSG_ANS, MSG_DISAS_CODE, MSG_STOPPED, MSG_TERMINATED, out, TYPE_BOOLEAN, TYPE_INTEGER, TYPE_NULL, TYPE_OBJECT, TYPE_REAL, TYPE_STRING |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
ADWPDebugger(java.io.InputStream in,
java.io.OutputStream out)
Creates a debugger using the given streams. |
Method Summary | |
---|---|
ADWPCommand |
readMessage()
Reads a message. |
protected ObjectReference |
readObjectReference(int id)
Reads an object reference. |
Value |
request(int cmd,
java.util.List<Value> args)
Sends a request to the debuggee. |
ADWPCommand |
requestMessage(int cmd,
java.util.List<Value> args)
Sends a message request to the debuggee. |
void |
run()
|
void |
sendCommand(int cmd,
java.util.List<Value> args)
Sends a command with the given arguments. |
Methods inherited from class org.eclipse.m2m.atl.debug.core.adwp.ADWP |
---|
readCommand, readValue, sendMessage, writeValue |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ADWPDebugger(java.io.InputStream in, java.io.OutputStream out)
in
- the input streamout
- the output streamMethod Detail |
---|
public void sendCommand(int cmd, java.util.List<Value> args)
cmd
- the commandargs
- the argumentspublic ADWPCommand readMessage()
public ADWPCommand requestMessage(int cmd, java.util.List<Value> args)
cmd
- the commandargs
- the arguments
public Value request(int cmd, java.util.List<Value> args)
cmd
- the commandargs
- the arguments
public void run()
run
in interface java.lang.Runnable
run
in class ADWP
ADWP.run()
protected ObjectReference readObjectReference(int id)
readObjectReference
in class ADWP
id
- the object id
ObjectReference
ADWP.readObjectReference(int)
|
Copyright 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |