August 1999
Intermediate to advanced
1000 pages
83h 9m
English
/usr/java/bin/jdb [-host hostname][-password password][classname]
The Java debugger, jdb, is a dbx-like command-line debugger for Java classes. It uses the Java debugger API to provide inspection and debugging of a local or remote Java interpreter.
Like dbx, jdb can be used for debugging in two ways. The most frequently used way is to use jdb to start java(1) with the class to be debugged. You do this by substituting the command jdb for java(1) in the command line. For example, to start appletviewer(1) under jdb, use one of the following commands.
castle% jdb sun.applet.AppletViewer castle% jdb -classpath INSTALL_DIR/classes sun.applet.AppletViewer
When started this way, ...
Read now
Unlock full access