Contents Previous Next

Preface


This document, KVM Debug Wire Protocol (KDWP) Specification, defines the debugger interface for Java Virtual Machine implementations that are intended to be compatible with Sun’s K Virtual Machine (KVM). KVM is commonly used as the underlying execution engine for the J2ME CLDC (Java™ 2 Micro Edition, Connected Limited Device Configuration) standard. The KVM Debug Wire Protocol (KDWP) is the protocol that is used for communication between a third party Java debugging environment and the K Virtual Machine.

Who Should Use This Specification

The audience for this document includes:

  1. Device manufacturers who want to port the K Virtual Machine (KVM) or another J2ME CLDC Java Virtual Machine to their device and who want their device to support source-level Java debugging with Integrated Development Environments (IDEs) from third-party vendors.
  2. IDE and tool vendors who wish to implement or port a Debug Agent in order to make their development environment capable of supporting source-level debugging of J2ME CLDC devices and applications.

Version History

September 5, 2001: Regenerated the KDWP Specification version 1.0. Fixed the incorrect description of FieldID in TABLE 1. No other changes.

October 11, 2002: Reformatted the KDWP Specification version 1.0 for Section 508 Accessibility. No changes in technical content of the specification.

Related Literature

The Java Language Specification (Java Series), Second Edition by James Gosling, Bill Joy, Guy Steele and Gilad Bracha. Addison-Wesley, 2000, ISBN 0-201-31008-2

The Java™ Virtual Machine Specification (Java Series), Second Edition by Tim Lindholm and Frank Yellin (Addison-Wesley, 1999)

Connected, Limited Device Configuration Specification, Version 1.0, Java Community Process, Sun Microsystems, Inc.
http://java.sun.com/aboutJava/communityprocess/jsr/jsr_030_j2melc.html

Java 2 Platform Micro Edition (J2ME) Technology for Creating Mobile Devices, A White Paper, Sun Microsystems, Inc.
http://java.sun.com/products/cldc/wp/KVMwp.pdf

Acknowledgements

This document was prepared in collaboration with engineers from Motorola Wireless Software, Applications and Services (WSAS) division in Austin, Texas. Many thanks to Motorola for their development efforts and support. We would also like to thank Borland, Metrowerks and Nokia for their participation and feedback.

 


Contents Previous Next KDWP Specification
KVM Debug Wire Protocol, 1.0