Java Platform Debugger Architecture: Difference between revisions

Content deleted Content added
No edit summary
Removing link(s) to "JSwat": Removing links to deleted page JSwat.
 
(32 intermediate revisions by 26 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 whichthat 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 Debug Wire Protocol (JDWP) - defines communication between debuggee(java application) and [[debugger]] processes.
* The [[Java Virtual Machine ToolsDebug Interface]], a(JVMDI) native interface''JVMDI whichwas helpsdeprecated toin inspectJ2SE the5.0 statein andfavor toof controlJVM theTI, execution ofand applicationswas runningremoved in the [[Java VirtualSE Machine]] ([[JVM]])6.''
* [[Java Debug Wire Protocol]] (JDWP) - defines communication between debuggee (javaa Java application) and [[debugger]] processes.
 
[[File:JPDA architecture.png|thumb|JPDA architecture]]
==External link==
 
* [http://java.sun.com/products/jpda/doc/architecture.html Java Platform Debugger Architecture documentation]
==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 linklinks==
* [http://javadocs.sunoracle.com/productsjavase/jpda7/docdocs/technotes/guides/jpda/architecture.html Java Platform Debugger Architecture documentationfor Java SE 7]
* [http://docs.oracle.com/javase/8/docs/technotes/guides/jpda/ Java Platform Debugger Architecture for Java SE 8]
 
[[Category:Debuggers]]