![]() |
|
|
Classes | |
class | JDWPCommand |
JDWPCommand wraps the jdwpCmdPacket struct. More... | |
struct | FieldID |
JDWP field ID. More... | |
struct | ObjectID |
JDWP object ID. More... | |
struct | MethodID |
JDWP method ID. More... | |
struct | ReferenceTypeID |
JDWP reference type ID. More... | |
struct | FrameID |
JDWP frame ID. More... | |
class | JDWPPacket |
JDWPPacket is the base class for JDWPCommand and JDWPReply. More... | |
class | JDWPReply |
JDWPReply wraps the jdwpReplyPacket struct. More... | |
Enumerations | |
enum | { ERR_NONE = 0, ERR_INVALID_THREAD = 10, ERR_INVALID_THREAD_GROUP = 11, ERR_INVALID_PRIORITY = 12, ERR_THREAD_NOT_SUSPENDED = 13, ERR_THREAD_SUSPENDED = 14, ERR_INVALID_OBJECT = 20, ERR_INVALID_CLASS = 21, ERR_CLASS_NOT_PREPARED = 22, ERR_INVALID_METHODID = 23, ERR_INVALID_LOCATION = 24, ERR_INVALID_FIELDID = 25, ERR_INVALID_FRAMEID = 30, ERR_NO_MORE_FRAMES = 31, ERR_OPAQUE_FRAME = 32, ERR_NOT_CURRENT_FRAME = 33, ERR_TYPE_MISMATCH = 34, ERR_INVALID_SLOT = 35, ERR_DUPLICATE = 40, ERR_NOT_FOUND = 41, ERR_INVALID_MONITOR = 50, ERR_NOT_MONITOR_OWNER = 51, ERR_INTERRUPT = 52, ERR_INVALID_CLASS_FORMAT = 60, ERR_CIRCULAR_CLASS_DEFINITION = 61, ERR_FAILS_VERIFICATION = 62, ERR_ADD_METHOD_NOT_IMPLEMENTED = 63, ERR_SCHEMA_CHANGE_NOT_IMPLEMENTED = 64, ERR_INVALID_TYPESTATE = 65, ERR_HIERARCHY_CHANGE_NOT_IMPLEMENTED = 66, ERR_DELETE_METHOD_NOT_IMPLEMENTED = 67, ERR_UNSUPPORTED_VERSION = 68, ERR_NAMES_DONT_MATCH = 69, ERR_CLASS_MODIFIERS_CHANGE_NOT_IMPLEMENTED = 70, ERR_METHOD_MODIFIERS_CHANGE_NOT_IMPLEMENTED = 71, ERR_NOT_IMPLEMENTED = 99, ERR_NULL_POINTER = 100, ERR_ABSENT_INFORMATION = 101, ERR_INVALID_EVENT_TYPE = 102, ERR_ILLEGAL_ARGUMENT = 103, ERR_OUT_OF_MEMORY = 110, ERR_ACCESS_DENIED = 111, ERR_VM_DEAD = 112, ERR_INTERNAL = 113, ERR_UNATTACHED_THREAD = 115, ERR_INVALID_TAG = 500, ERR_ALREADY_INVOKING = 502, ERR_INVALID_INDEX = 503, ERR_INVALID_LENGTH = 504, ERR_INVALID_STRING = 506, ERR_INVALID_CLASS_LOADER = 507, ERR_INVALID_ARRAY = 508, ERR_TRANSPORT_LOAD = 509, ERR_TRANSPORT_INIT = 510, ERR_NATIVE_METHOD = 511, ERR_INVALID_COUNT = 512 } |
enum | eventKindConstants { EVENT_SINGLE_STEP = 1, EVENT_BREAKPOINT = 2, EVENT_FRAME_POP = 3, EVENT_EXCEPTION = 4, EVENT_USER_DEFINED = 5, EVENT_THREAD_START = 6, EVENT_THREAD_END = 7, EVENT_CLASS_PREPARE = 8, EVENT_CLASS_UNLOAD = 9, EVENT_CLASS_LOAD = 10, EVENT_FIELD_ACCESS = 20, EVENT_FIELD_MODIFICATION = 21, EVENT_EXCEPTION_CATCH = 30, EVENT_METHOD_ENTRY = 40, EVENT_METHOD_EXIT = 41, EVENT_VM_INIT = 90, EVENT_VM_DEATH = 99 } |
EventKind Constants. More... | |
enum | threadStatusConstants { THREAD_STATUS_ZOMBIE = 0, THREAD_STATUS_RUNNING = 1, THREAD_STATUS_SLEEPING = 2, THREAD_STATUS_MONITOR = 3, THREAD_STATUS_WAIT = 4 } |
ThreadStatus Constants. More... | |
enum | suspendStatusConstants { SUSPEND_STATUS_SUSPENDED = 0x1 } |
SuspendStatus Constants. More... | |
enum | classStatusConstants { CLASS_STATUS_VERIFIED = 1, CLASS_STATUS_PREPARED = 2, CLASS_STATUS_INITIALIZED = 4, CLASS_STATUS_ERROR = 8 } |
ClassStatus Constants. More... | |
enum | typeTagConstants { TAG_TYPE_CLASS = 1, TAG_TYPE_INTERFACE = 2, TAG_TYPE_ARRAY = 3 } |
TypeTag Constants. More... | |
enum | tagConstants { TAG_ARRAY = 91, TAG_BYTE = 66, TAG_CHAR = 67, TAG_OBJECT = 76, TAG_FLOAT = 70, TAG_DOUBLE = 68, TAG_INT = 73, TAG_LONG = 74, TAG_SHORT = 83, TAG_VOID = 86, TAG_BOOLEAN = 90, TAG_STRING = 115, TAG_THREAD = 116, TAG_THREAD_GROUP = 103, TAG_CLASS_LOADER = 108, TAG_CLASS_OBJECT = 99 } |
Tag Constants. More... | |
enum | stepDepthConstants { STEP_INTO = 0, STEP_OVER = 1, STEP_OUT = 2 } |
StepDepth Constants. More... | |
enum | stepSizeConstants { STEP_SIZE_MIN = 0, STEP_SIZE_LINE = 1 } |
StepSize Constants. More... | |
enum | suspendPolicyConstants { SUSPEND_POLICY_NONE = 0, SUSPEND_POLICY_EVENT_THREAD = 1, SUSPEND_POLICY_ALL = 2 } |
SuspendPolicy Constants. More... | |
enum | invokeOptionsConstants { INVOKE_SINGLE_THREADED = 0x01, INVOKE_NONVIRTUAL = 0x02 } |
InvokeOptions Constants. More... | |
enum | jdwpCommandSet { VM_COMMAND_SET = 1, REF_TYPE_COMMAND_SET = 2, CLASS_TYPE_COMMAND_SET = 3, ARRAY_TYPE_COMMAND_SET = 4, IF_COMMAND_SET = 5, METHOD_COMMAND_SET = 6, OBJECT_REF_COMMAND_SET = 9, STRING_REF_COMMAND_SET = 10, THREAD_REF_COMMAND_SET = 11, THREAD_GROUP_REF_COMMAND_SET = 12, ARRAY_REF_COMMAND_SET = 13, CLASS_LDR_REF_COMMAND_SET = 14, EVENT_REQUEST_COMMAND_SET = 15, STACK_FRAME_COMMAND_SET = 16, CLASS_OBJECT_REF_COMMAND_SET = 17, EVENT_COMMAND_SET = 64, INSPECTORJ_COMMAND_SET = -1, BYTECODE_COMMAND_SET = 99 } |
Command Sets. More... | |
enum | virtualMachineCmd { VM_CMD_VERSION = 1, VM_CMD_CLASSES_BY_SIGNATURE = 2, VM_CMD_ALL_CLASSES = 3, VM_CMD_ALL_THREADS = 4, VM_CMD_TOP_LEVEL_THREAD_GROUPS = 5, VM_CMD_DISPOSE = 6, VM_CMD_ID_SIZES = 7, VM_CMD_SUSPEND = 8, VM_CMD_RESUME = 9, VM_CMD_EXIT = 10, VM_CMD_CREATE_STRING = 11, VM_CMD_CAPABILITIES = 12, VM_CMD_CLASSPATHS = 13, VM_CMD_DISPOSE_OBJECTS = 14, VM_CMD_HOLD_EVENTS = 15, VM_CMD_RELEASE_EVENTS = 16, VM_CMD_CAPABILITIES_NEW = 17, VM_CMD_REDEFINE_CLASSES = 18, VM_CMD_SET_DEFAULT_STRATUM = 19, VM_CMD_ALL_CLASSES_WITH_GENERIC = 20 } |
Virtual Machine Commands. More... | |
enum | referenceTypeCmd { REF_TYPE_CMD_SIGNATURE = 1, REF_TYPE_CMD_CLASS_LOADER = 2, REF_TYPE_CMD_MODIFIERS = 3, REF_TYPE_CMD_FIELDS = 4, REF_TYPE_CMD_METHODS = 5, REF_TYPE_CMD_GET_VALUES = 6, REF_TYPE_CMD_SOURCE_FILE = 7, REF_TYPE_CMD_NESTED_TYPES = 8, REF_TYPE_CMD_STATUS = 9, REF_TYPE_CMD_INTERFACES = 10, REF_TYPE_CMD_CLASS_OBJECT = 11, REF_TYPE_CMD_SOURCE_DEBUG_EXTENSION = 12, REF_TYPE_CMD_SIGNATURE_WITH_GENERIC = 13, REF_TYPE_CMD_FIELDS_WITH_GENERIC = 14, REF_TYPE_CMD_METHODS_WITH_GENERIC = 15 } |
Reference Type Commands. More... | |
enum | byteCodeCmd { BC_TYPE_CMD_DISASSEMBLE = 1 } |
Reference Type Commands. More... | |
enum | classTypeCmd { CLASS_TYPE_CMD_SUPER_CLASS = 1, CLASS_TYPE_CMD_SET_VALUES = 2, CLASS_TYPE_CMD_INVOKE_METHOD = 3, CLASS_TYPE_CMD_NEW_INSTANCE = 4 } |
Class Type Commands. More... | |
enum | arrayTypeCmd { ARRAY_TYPE_CMD_NEW_INSTANCE = 1 } |
Array Type Commands. More... | |
enum | interfaceCmd |
Interface Commands. More... | |
enum | methodCmd { METHOD_CMD_LINE_TABLE = 1, METHOD_CMD_VARIABLE_TABLE = 2, METHOD_CMD_BYTECODES = 3, METHOD_CMD_IS_OBSOLETE = 4, METHOD_CMD_VARIABLE_TABLE_WITH_GENERIC = 5 } |
Method Commands. More... | |
enum | objectReferenceCmd { OBJECT_REF_CMD_REFERENCE_TYPE = 1, OBJECT_REF_CMD_GET_VALUES = 2, OBJECT_REF_CMD_SET_VALUES = 3, OBJECT_REF_CMD_MONITOBJECT_REF_INFO = 5, OBJECT_REF_CMD_INVOKE_METHOD = 6, OBJECT_REF_CMD_DISABLE_COLLECTION = 7, OBJECT_REF_CMD_ENABLE_COLLECTION = 8, OBJECT_REF_CMD_IS_COLLECTED = 9 } |
Object Reference Commands. More... | |
enum | stringReferenceCmd { STRING_REF_CMD_VALUE = 1 } |
String Reference Commands. More... | |
enum | threadReferenceCmd { THREAD_REFCMD_NAME = 1, THREAD_REFCMD_SUSPEND = 2, THREAD_REFCMD_RESUME = 3, THREAD_REFCMD_STATUS = 4, THREAD_REFCMD_THREAD_GROUP = 5, THREAD_REFCMD_FRAMES = 6, THREAD_REFCMD_FRAME_COUNT = 7, THREAD_REFCMD_OWNED_MONITORS = 8, THREAD_REFCMD_CURRENT_CONTENDED_MONITOR = 9, THREAD_REFCMD_STOP = 10, THREAD_REFCMD_INTERRUPT = 11, THREAD_REFCMD_SUSPEND_COUNT = 12 } |
Thread Reference Commands. More... | |
enum | threadGroupReferenceCmd { THREAD_GROUP_REFCMD_NAME = 1, THREAD_GROUP_REFCMD_PARENT = 2, THREAD_GROUP_REFCMD_CHILDREN = 3 } |
Thread Group Reference Commands. More... | |
enum | arrayReferenceCmd { ARRAY_REF_CMD_LENGTH = 1, ARRAY_REF_CMD_GET_VALUES = 2, ARRAY_REF_CMD_SET_VALUES = 3 } |
Array Reference Commands. More... | |
enum | classLoaderReferenceCmd { CLASS_LDR_REF_CMD_VISIBLE_CLASSES = 1 } |
Class Loader Reference Commands. More... | |
enum | eventRequestCmd { EVENT_REQUEST_CMD_SET = 1, EVENT_REQUEST_CMD_CLEAR = 2, EVENT_REQUEST_CMD_CLEAR_ALL_BREAKPOINTS = 3 } |
Event Request Commands. More... | |
enum | stackFrameCmd { STACK_FRAME_CMD_GET_VALUES = 1, STACK_FRAME_CMD_SET_VALUES = 2, STACK_FRAME_CMD_THIS_OBJECT = 3, STACK_FRAME_CMD_POP_FRAMES = 4 } |
Stack Frame Commands. More... | |
enum | classObjectReferenceCmd { CLASS_OBJECT_REF_CMD_REFLECTED_TYPE = 1 } |
Class Object Reference Commands. More... | |
enum | eventCmd { EVENT_CMD_COMPOSITE = 100 } |
Event Commands. More... | |
enum | inspectorjCmd { IJ_DISCONNECT = 1, IJ_EXIT = 2 } |
InspectorJ Commands. More... | |
Functions | |
void | getJDWPError (int errCode, QString &s) |
Evaluate the errorCode returned by a jdwpReplyPacket. | |
Variables | |
const char *const | JDWP_HANDSHAKE = "JDWP-Handshake" |
JDWP handshake string. | |
const int | JDWP_HANDSHAKE_LENGTH = 14 |
JDWP handshake length. | |
const int | JDWP_HEADER_LENGTH = 11 |
JDWP packet header length. |
anonymous enum |
Definition at line 83 of file jdwpconstants.h.
InvokeOptions Constants.
INVOKE_SINGLE_THREADED | otherwise, all threads started. |
INVOKE_NONVIRTUAL | otherwise, normal virtual invoke (instance methods only). |
Definition at line 251 of file jdwpconstants.h.
StepDepth Constants.
STEP_INTO | Step into any method calls that occur before the end of the step. |
STEP_OVER | Step over any method calls that occur before the end of the step. |
STEP_OUT | Step out of the current method. |
Definition at line 228 of file jdwpconstants.h.
StepSize Constants.
Definition at line 236 of file jdwpconstants.h.
SuspendPolicy Constants.
Definition at line 243 of file jdwpconstants.h.
Tag Constants.
Definition at line 207 of file jdwpconstants.h.
TypeTag Constants.
TAG_TYPE_CLASS | ReferenceType is a class. |
TAG_TYPE_INTERFACE | ReferenceType is an interface. |
TAG_TYPE_ARRAY | ReferenceType is an array. |
Definition at line 199 of file jdwpconstants.h.
void inspectorj::jdwp::getJDWPError | ( | int | errCode, | |
QString & | s | |||
) |
Evaluate the errorCode returned by a jdwpReplyPacket.
errCode | the errorCode | |
s | a QString reference to store the error string in |
Referenced by inspectorj::client::ConnectionManager::getJDWPError(), and inspectorj::client::ClientPacketHandler::handleJDWPError().
const char* const inspectorj::jdwp::JDWP_HANDSHAKE = "JDWP-Handshake" |
JDWP handshake string.
Definition at line 38 of file jdwpconstants.h.
Referenced by inspectorj::client::ClientPacketHandler::getHandshake(), inspectorj::client::ConnectionManager::sendHandshake(), and inspectorj::agent::AgentServer::start().
const int inspectorj::jdwp::JDWP_HANDSHAKE_LENGTH = 14 |
JDWP handshake length.
Definition at line 41 of file jdwpconstants.h.
Referenced by inspectorj::client::ClientPacketHandler::getHandshake(), and inspectorj::agent::AgentServer::start().
const int inspectorj::jdwp::JDWP_HEADER_LENGTH = 11 |
JDWP packet header length.
Definition at line 44 of file jdwpconstants.h.
Referenced by inspectorj::agent::commandset::JDWPCommandSet::getJDWPReply(), inspectorj::jdwp::JDWPPacket::getLength(), inspectorj::jdwp::JDWPCommand::JDWPCommand(), inspectorj::jdwp::JDWPReply::JDWPReply(), inspectorj::client::ClientPacketHandler::readJDWPPacket(), inspectorj::client::ClientPacketHandler::sendJDWPCommand(), inspectorj::agent::AgentServer::start(), and inspectorj::agent::AgentSocket::writeReply().