Java Platform Debugger Architecture

Short description: APIs for Java programming language

The Java Platform Debugger Architecture (JPDA) is a collection of APIs to debug Java code.

* Java Debugger Interface (JDI) – defines a high-level Java language interface that developers can easily use to write remote debugger application tools.
* Java Virtual Machine Tools Interface (JVMTI) – a native interface that helps to inspect the state and to control the execution of applications running in the Java Virtual Machine (JVM).
* Java Virtual Machine Debug Interface (JVMDI) – JVMDI was deprecated in J2SE 5.0 in favor of JVM TI, and was removed in Java SE 6.
* Java Debug Wire Protocol (JDWP) – defines communication between debuggee (a Java application) and debugger processes.

JPDA architecture

## Contents

* 1 Java Debugger Interface (JDI)
* 2 See also
* 3 References
* 4 External links

## Java Debugger Interface (JDI)

JDI is the highest-layer of the Java Platform Debugger Architecture. It allows to access the JVM and the internal variables of the debugged program. It also allows to set breakpoints, stepping, and handle threads.[1]

## See also

* Eclipse, an open-source IDE integrated with JPDA support
* IntelliJ IDEA, a commercial open-source Java IDE with integrated JPDA support
* JSwat, an open-source Java debugger using the JPDA
* NetBeans, an open-source IDE using the JPDA

## References

1. ↑ "An Intro to the Java Debug Interface (JDI)". baeldung.com. 2019-09-07. https://www.baeldung.com/java-debug-interface. Retrieved 2020-01-19.

## External links

* Java Platform Debugger Architecture for Java SE 7
* Java Platform Debugger Architecture for Java SE 8

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Java Platform Debugger Architecture. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Java_Platform_Debugger_Architecture&oldid=246051"