|
Java platform debugging Architecture
|
|
Architecture Overview
Shows the Java platform debugging architecture:
Component debugging Interface
/| -------------- |
/| VM |
Debuggee ---- (| -------------- | <-- jvmdi-Java VM debug Interface
/| Back-end |
/| -------------- |
/|
Comm channel-(| <-------- jdwp-Java debug wire protocol
/|
| -------------- |
| Front-end |
| -------------- | <---- Jdi-Java debug Interface
| UI |
| -------------- |
1. What is JPDA?
JPDA is short for Java platform debugger architecture. It is a multi-layer debugging architecture that allows programmers to easily write and Debug Programs on one or more JVMs.
Includes three parts:
Jvmdi: defines the debugging service that a Java Virtual Machine can provide.
Jdwp: defines the communication protocols between different debuggers and different processes during Java debugging.
Jdi: defines the semantic-level debugging interface.
2. debuggee
Is a debug process
3,
Jvmdi is a bidirectional interface. The jvmdi client can obtain relevant debugging information by defining "events" of interest. Jvmdi can query the status of the program to be debugged, or control the program to be debugged.
To be continued
Accesine@163.com