HOME

TheInfoList



OR:

The Java Platform Debugger Architecture (JPDA) is a collection of
API An application programming interface (API) is a connection between computers or between computer programs. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how to build ...
s to debug
Java Java is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea (a part of Pacific Ocean) to the north. With a population of 156.9 million people (including Madura) in mid 2024, proje ...
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 A Java virtual machine (JVM) is a virtual machine that enables a computer to run Java programs as well as programs written in other languages that are also compiled to Java bytecode. The JVM is detailed by a specification that formally descr ...
(
JVM A Java virtual machine (JVM) is a virtual machine that enables a computer to run Java programs as well as programs written in other languages that are also compiled to Java bytecode. The JVM is detailed by a specification that formally descri ...
). * 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 A debugger is a computer program used to test and debug other programs (the "target" programs). Common features of debuggers include the ability to run or halt the target program using breakpoints, step through code line by line, and display ...
processes.


Java Debugger Interface (JDI)

JDI is the highest-layer of the Java Platform Debugger Architecture. It allows to access the
JVM A Java virtual machine (JVM) is a virtual machine that enables a computer to run Java programs as well as programs written in other languages that are also compiled to Java bytecode. The JVM is detailed by a specification that formally descri ...
and the internal variables of the debugged program. It also allows to set
breakpoint In software development, a breakpoint is an intentional stopping or pausing place in a computer program, program, put in place for debugging purposes. It is also sometimes simply referred to as a pause. More generally, a breakpoint is a means o ...
s, stepping, and handle threads.


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 NetBeans is an integrated development environment (IDE) for Java (programming language), Java. NetBeans allows applications to be developed from a set of modular software components called ''modules''. NetBeans runs on Microsoft Windows, Windows, ...
, an open-source IDE using the JPDA


References

{{Reflist


External links


Java Platform Debugger Architecture for Java SE 7

Java Platform Debugger Architecture for Java SE 8
Debuggers Java platform