jdwp-(ide-proxy)交互数据流1

(1)
从IDE接收到的packet->ID=2/Virtual Machine(1)/IDSizes(7)/0/

proxy->ide packet:ID=2/(0)/(0)/0/0000000800000004000000040000000400000004

*fieldIDSize =*00000008

methodIDSize= 00000004

objectIDSize= 00000004

referenceTypeIDSize= 00000004

frameIDSize= 00000004

IDSizes Command (7)

Returns the sizes of variably-sized data types in the target VM.The returned values indicate the number of bytes used by the identifiers in command and reply packets.

Out Data

(None)

Reply Data

int fieldIDSize fieldID size in bytes
int methodIDSize methodID size in bytes
int objectIDSize objectID size in bytes
int referenceTypeIDSize referenceTypeID size in bytes
int frameIDSize frameID size in bytes

Error Data

|-----------------------------------------------------------------------------------------------------------------|-------------------------------------|
| VM_DEAD | The virtual machine is not running. |


(2)

EventRequest Command Set (15)
Set Command (1)

Set an event request. When the event described by this request occurs, an event is sent from the target VM. If an event occurs that has not been requested then it is not sent from the target VM. The two exceptions to this are the VM Start Event and the VM Death Event which are automatically generated events - see Composite Command for further details.

事件请求命令集 (15)

设置命令 (1)

设置事件请求。 当此请求描述的事件发生时,将从目标 VM 发送一个事件。 如果发生未请求的事件,则不会从目标 VM 发送该事件。 两个例外是 VM 启动事件和 VM 死亡事件,它们是自动生成的事件 - 有关更多详细信息,请参阅复合命令。

从IDE接收到的packet->ID=4/EventRequest(15)/Set(1)/0/080000000000

proxy->ide packet:ID=4/(0)/(0)/0/00000000

从IDE接收到的packet->ID=6/EventRequest(15)/Set(1)/0/090000000000

proxy->ide packet:ID=6/(0)/(0)/0/00000001


VirtualMachine Command Set (1)

Returns the JDWP version implemented by the target VM. The version string format is implementation dependent.

从IDE接收到的packet->ID=8/Virtual Machine(1)/Version(1)/0/

proxy->ide packet:ID=8/(0)/(0)/0/0000000b56657273696f6e20312e30000000010000000400000003312e30000000174a6176612043617264203320506c6174666f726d205249

Version Command (1)

Returns the JDWP version implemented by the target VM. The version string format is implementation dependent.

Out Data

(None)

Reply Data

string description Text information on the VM version
int jdwpMajor Major JDWP Version number
int jdwpMinor Minor JDWP Version number
string vmVersion Target VM JRE version, as in the java.version property
string vmName Target VM name, as in the java.vm.name property

从IDE接收到的packet->ID=10/Virtual Machine(1)/Capabilities(12)/0/

proxy->ide packet:ID=10/(0)/(0)/0/00000000000000

Capabilities Command (12)

Retrieve this VM's capabilities. The capabilities are returned as booleans, each indicating the presence or absence of a capability. The commands associated with each capability will return the NOT_IMPLEMENTED error if the cabability is not available.

Out Data

(None)

Reply Data

boolean canWatchFieldModification Can the VM watch field modification, and therefore can it send the Modification Watchpoint Event?
boolean canWatchFieldAccess Can the VM watch field access, and therefore can it send the Access Watchpoint Event?
boolean canGetBytecodes Can the VM get the bytecodes of a given method?
boolean canGetSyntheticAttribute Can the VM determine whether a field or method is synthetic? (that is, can the VM determine if the method or the field was invented by the compiler?)
boolean canGetOwnedMonitorInfo Can the VM get the owned monitors infornation for a thread?
boolean canGetCurrentContendedMonitor Can the VM get the current contended monitor of a thread?
boolean canGetMonitorInfo Can the VM get the monitor information for a given object?

从IDE接收到的packet->ID=12/Virtual Machine(1)/AllClasses(3)/0/

proxy->ide packet:ID=12/(0)/(0)/0/000000070100ffffff0000000d4c53797374656d436c6173733b000000000301000001000000025b42000000000301000002000000025b5a000000000301000003000000025b53000000000301000004000000025b490000000001001d8001000000344c636f6d2f6f7261636c652f6a63636c61737369632f73616d706c65732f68656c6c6f776f726c642f48656c6c6f576f726c643b0000000003001d0002000000355b4c636f6d2f6f7261636c652f6a63636c61737369632f73616d706c65732f68656c6c6f776f726c642f48656c6c6f576f726c643b00000000

AllClasses Command (3)

Returns reference types for all classes currently loaded by the target VM.

Out Data

(None)

Reply Data

int classes Number of reference types that follow.
Repeated classes times:
byte refTypeTag Kind of following reference type.
referenceTypeID typeID Loaded reference type
string signature The JNI signature of the loaded reference type
int status The current class status.

从IDE接收到的packet->ID=14/Virtual Machine(1)/TopLevelThreadGroups(5)/0/

proxy->ide packet:ID=14/(0)/(0)/0/00000001ffffffe0

TopLevelThreadGroups Command (5)

Returns all thread groups that do not have a parent. This command may be used as the first step in building a tree (or trees) of the existing thread groups.

Out Data

(None)

Reply Data

int groups Number of thread groups that follow.
Repeated groups times:
threadGroupID group A top level thread group

从IDE接收到的packet->ID=18/EventRequest(15)/Set(1)/0/070000000000

proxy->ide packet:ID=18/(0)/(0)/0/00000003


从IDE接收到的packet->ID=20/EventRequest(15)/Set(1)/0/080100000001050000002273756e2e696e737472756d656e742e496e737472756d656e746174696f6e496d706c

proxy->ide packet:ID=20/(0)/(0)/0/00000004


从IDE接收到的packet->ID=22/EventRequest(15)/Set(1)/0/080100000001050000002273756e2e696e737472756d656e742e496e737472756d656e746174696f6e496d706c

proxy->ide packet:ID=22/(0)/(0)/0/00000005


从IDE接收到的packet->ID=24/EventRequest(15)/Set(1)/0/0801000000010500000032636f6d2e6f7261636c652e6a63636c61737369632e73616d706c65732e68656c6c6f776f726c642e4d794d61696e54657374

proxy->ide packet:ID=24/(0)/(0)/0/00000006


从IDE接收到的packet->ID=26/EventRequest(15)/Set(1)/0/0801000000010500000032636f6d2e6f7261636c652e6a63636c61737369632e73616d706c65732e68656c6c6f776f726c642e48656c6c6f576f726c64

proxy->ide packet:ID=26/(0)/(0)/0/00000007


从IDE接收到的packet->ID=28/ReferenceType(2)/Status(9)/0/001d8001

proxy->ide packet:ID=28/(0)/(0)/0/00000002


从IDE接收到的packet->ID=30/ReferenceType(2)/Methods(5)/0/001d8001

proxy->ide packet:ID=30/(0)/(0)/0/000000031d800100000000063c696e69743e00000003282956000000041d80010100000007696e7374616c6c00000007285b4253422956000000091d8001020000000770726f636573730000001c284c6a617661636172642f6672616d65776f726b2f415044553b295600000001


从IDE接收到的packet->ID=32/Virtual Machine(1)/CapabilitiesNew(17)/0/

proxy->ide packet:ID=32/(0)/(0)/0/0000000000000000000000000000000000000000000000000000000000000000


从IDE接收到的packet->ID=34/Method(6)/LineTable(1)/0/001d80011d800100

proxy->ide packet:ID=34/(0)/(0)/0/0000000000000000000000000000001100000004000000000000000000000023000000000000000400000024000000000000000c00000025000000000000001000000026


从IDE接收到的packet->ID=36/Method(6)/LineTable(1)/0/001d80011d800101

proxy->ide packet:ID=36/(0)/(0)/0/0000000000000000000000000000000900000002000000000000000000000033000000000000000800000034


从IDE接收到的packet->ID=38/Method(6)/LineTable(1)/0/001d80011d800102

proxy->ide packet:ID=38/(0)/(0)/0/000000000000000000000000000000530000000e00000000000000000000004100000000000000050000004400000000000000110000004600000000000000120000004900000000000000170000004a000000000000001a0000004c000000000000001d0000004d00000000000000280000004e000000000000002e0000004f000000000000003600000052000000000000003b00000053000000000000004300000056000000000000004900000058000000000000005200000059


从IDE接收到的packet->ID=40/ReferenceType(2)/SourceFile(7)/0/001d8001

proxy->ide packet:ID=40/(0)/(0)/0/0000000f48656c6c6f576f726c642e6a617661


从IDE接收到的packet->ID=42/EventRequest(15)/Set(1)/0/0202000000010701001d80011d8001000000000000000004

----------proxy->VM begin---------

packetData = 4606011d00000007

----------proxy->VM end---------

==========VM->proxy begin==========

从VM读取到的数据 data = c60400000000

==========VM->proxy end==========

proxy->ide packet:ID=42/(0)/(0)/0/00000008


从IDE接收到的packet->ID=44/EventRequest(15)/Set(1)/0/0801000000010500000032636f6d2e6f7261636c652e6a63636c61737369632e73616d706c65732e68656c6c6f776f726c642e48656c6c6f576f726c64

proxy->ide packet:ID=44/(0)/(0)/0/00000009


从IDE接收到的packet->ID=46/EventRequest(15)/Set(1)/0/0202000000010701001d80011d8001020000000000000005

----------proxy->VM begin---------

packetData = 4606011d00000026

----------proxy->VM end---------

==========VM->proxy begin==========

从VM读取到的数据 data = c60400000000

==========VM->proxy end==========

proxy->ide packet:ID=46/(0)/(0)/0/0000000a


从IDE接收到的packet->ID=48/Virtual Machine(1)/Resume(9)/0/

----------proxy->VM begin---------

packetData = 4103010001

----------proxy->VM end---------

==========VM->proxy begin==========

从VM读取到的数据 data = c103000001

==========VM->proxy end==========


相关推荐
Larry_Yanan18 小时前
QML学习笔记(四十三)QML与C++交互:上下文属性暴露
c++·笔记·qt·学习·ui·交互
top_designer21 小时前
告别“静态”VI手册:InDesign与AE打造可交互的动态品牌规范
设计模式·pdf·交互·vi·工作流·after effects·indesign
嵌入式学习和实践1 天前
C# WinForms 多窗口交互通信的示例-主窗口子窗口交互通信
c#·交互·主窗口-子窗口通信
梵得儿SHI2 天前
Prompt Engineering 核心知识:从基础模式到思维链,掌握大模型高效交互秘籍
大模型·prompt·交互·提示词·对话·大模型提问艺术·极简指令
IT小哥哥呀2 天前
工业互联与设备IOT助力生产制造实践分享
物联网·交互·制造·简单工厂模式
jjjxxxhhh1232 天前
【项目-】Qt + QCustomPlot 实现频谱监测仪:四图联动、高频信号注入、鼠标交互全解析
开发语言·qt·交互
gis分享者3 天前
学习threejs,打造交互式花卉生成器
交互·threejs·生成·shadermaterial·花卉·planegeometry
猫头虎4 天前
OpenAI发布构建AI智能体的实践指南:实用框架、设计模式与最佳实践解析
人工智能·设计模式·开源·aigc·交互·pip·ai-native
Cloud Traveler4 天前
【征文计划】Rokid CXR-M SDK全解析:从设备连接到语音交互的AR协同开发指南
ar·交互
@PHARAOH5 天前
WHAT - 前端性能指标(交互和响应性能指标)
前端·交互