Java Platform Debugger Architecture: Difference between revisions

Content deleted Content added
See also: Reference: http://www.jetbrains.org/display/IJOS/Download
Removing link(s) to "JSwat": Removing links to deleted page JSwat.
 
(12 intermediate revisions by 8 users not shown)
Line 1:
{{Short description|APIs for Java programming language}}
The '''Java Platform Debugger Architecture''' (JPDA) is a collection of [[API]]s to [[debugging|debug]] [[Java (programming language)|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|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.
 
[[File:JPDA architecture.png|thumb|JPDA architecture]]
 
==Java Debugger Interface (JDI)==
JDI is the highest-layer of the Java Platform Debugger Architecture. It allows to access the [[Java virtual machine|JVM]] and the internal variables of the debugged program. It also allows to set [[breakpoint]]s, [[stepping (debugging)|stepping]], and handle threads.<ref>{{cite web
| url=https://www.baeldung.com/java-debug-interface
| title=An Intro to the Java Debug Interface (JDI)
| date=2019-09-07
| publisher=baeldung.com
| accessdate=2020-01-19}}</ref>
 
==See also==
* [[Eclipse (software)|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==
{{Reflist}}
 
==External links==
* [http://docs.oracle.com/javase/7/docs/technotes/guides/jpda/architecture.html Java Platform Debugger Architecture overview for Java SE 7]
* [http://docs.oracle.com/javase/8/docs/technotes/guides/jpda/ Java Platform Debugger Architecture for Java SE 8]
 
[[Category:Debuggers]]