Java platform debugging Architecture

Source: Internet
Author: User

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

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.