Class ADWPDebugger
java.lang.Object
java.lang.Thread
org.eclipse.m2m.atl.debug.core.adwp.ADWP
org.eclipse.m2m.atl.debug.core.adwp.ADWPDebugger
- All Implemented Interfaces:
Runnable
The ADWP debugger.
-
Nested Class Summary
Nested classes/interfaces inherited from class Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class 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_STRINGFields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionADWPDebugger(InputStream in, OutputStream out) Creates a debugger using the given streams. -
Method Summary
Modifier and TypeMethodDescriptionReads a message.protected ObjectReferencereadObjectReference(int id) Reads an object reference.Sends a request to the debuggee.requestMessage(int cmd, List<Value> args) Sends a message request to the debuggee.voidrun()voidsendCommand(int cmd, List<Value> args) Sends a command with the given arguments.Methods inherited from class ADWP
readCommand, readValue, sendMessage, writeValueMethods inherited from class Thread
activeCount, checkAccess, clone, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, threadId, toString, yield
-
Constructor Details
-
ADWPDebugger
Creates a debugger using the given streams.- Parameters:
in- the input streamout- the output stream
-
-
Method Details
-
sendCommand
-
readMessage
-
requestMessage
Sends a message request to the debuggee.- Parameters:
cmd- the commandargs- the arguments- Returns:
- the return Value
-
request
-
run
-
readObjectReference
Reads an object reference.- Specified by:
readObjectReferencein classADWP- Parameters:
id- the object id- Returns:
- the
ObjectReference - See Also:
-