The IDE supports two implementations of Java debuggers: the JDK 1.1 debugger and the Java Platform Debugger Architecture (JPDA). Each implementation uses a different mechanism for communicating between the debugger and the application being debugged. The following table lists the versions of the Java 2 Platform, Standard Edition (J2SE) and which implementations of the Java debugger they support.
Version of J2SE | Supports JDK 1.1 Debugger? | Supports JPDA? |
---|---|---|
JDK v. 1.1 software | Yes | No |
J2SE v. 1.2 software | Yes | Yes. You have to download and use a separate JPDA extension (library). To use the library, add it to the boot class path when starting the application. |
J2SE v. 1.3 software | Yes | Yes |
J2SE v. 1.4 software | No | Yes |
The IDE also supports an applet debugger and a J2EE server debugger. Additional
debuggers might be installed by extension modules.
You can view the debuggers available in your version of the IDE in the Options window. The debugger implementations are listed under Debugging and Executing Debugger Types.
One debugger type is selected as the default debugger. The default debugger is used for all classes and templates for which you have not specifically assigned a debugger type. You can view the default debugger by opening the Options window, expanding the Editing node, and selecting the Java Sources node. By default, this debugger is the JPDA debugger.
For information on the debugger types and their properties, see:
Default Debugger
Applet Debugger
JDK 1.1 Debugger
J2EE Server Debugger
For information on adding and removing debugger types, see:
Specifying the Default Debugger
Defining a New Debugger Type
Setting a Debugger Type in a Template
Removing a Debugger Type