| # JavaTM Platform Debugger Architecture | Documentation Contents

> The Java Platform Debugger Architecture (JPDA) consists of three interfaces designed for use by debuggers in development environments for desktop systems. The Java Virtual Machine Tools Interface (JVMTI) defines the services a VM must provide for debugging (JVMTI is a replacement for the Java Virtual Machine Debug Interface (JVMDI) which has been deprecated). The Java Debug Wire Protocol (JDWP) defines the format of information and requests transferred between the process being debugged and the debugger front end, which implements the Java Debug Interface (JDI). The Java Debug Interface defines information and requests at the user code level.

Enhancements

- JPDA Enhancements in the JDK 5.0

Design

- JPDA Overview

- Modularity
- Walk-through
- Porting

- Architecture

- Architecture Overview
- Debugger Interfaces

- Java Virtual Machine Tool Interface

- Java Debugger Wire Protocol
- Java Debug Interface

Interface Reference

- Java Virtual Machine Tool Interface (JVMTI)

NOTE: JVMPI, the experimental Java Virtual Machine Profiling Interface has been deprecated and will be removed in the next major release. It has been replaced by JVMTI.

- Specification

- Java Virtual Machine Debug Interface (JVMDI)

NOTE: JVMDI has been deprecated and will be removed in the next major release. It has been replaced by JVMTI.

- Specification (Deprecated)

- Java Debug Wire Protocol (JDWP)

- Specification

- Java Debug Wire Protocol Interface

- Specification

- Java Debug Interface (JDI)

- Specification

Implementation

- Connection and Invocation Details

More Information

- JPDA Home Page

Examples

- Example JDI Applications

> The `demo/jpda/examples.jar` file in the JDK software contains JPDA examples, including source code for the `jdb` Java Debugger and the prototype `javadt` GUI debugger.

Copyright © 2004 Sun Microsystems, Inc. All Rights Reserved. Please send comments to: Debugging Feedback |