NonStop Server for Java Programmer's Reference (NSJ 4.0+)
Table Of Contents

Debugging Java Programs
This subsection discusses the debugger architecture and how to run the programs involved in debugging Java
applications. The topics are:
Debugging Overview●
Transports●
java Command-Line Options to Run a Debuggee●
Starting the Java Debugger (jdb) Tool●
Debugging JNI Code●
Debugging Java and JNI Code●
Debugging Overview
NonStop Server for Java 4 supports Java Platform Debugger Architecture (JPDA) that provides debugging
support for the Java platform. JPDA consists of a three-layered set of APIs:
JDI
Java Debug Interface—A high-level Java language interface, includes support for remote debugging
that is used by debugger applications
JDWP
Java Debug Wire Protocol—Defines the format of the request between the debugger and the debuggee
(the application that is being debugged)
JVMDI
Java Virtual Machine Debug Interface—A low-level interface that the Java VM provides to support
debugging
The structure of JPDA is shown in the diagram below.
The Java Platform Debugger Architecture Structure