/usr/java/bin/jdb
[options] [class]Solaris only. jdb is the Java Debugger. It is a line-oriented debugger, similar to traditional Unix debuggers, providing inspection and debugging of local or remote Java interpreters.
jdb can be used in place of java, in which case the program to be run is already started in the debugger. Or, it may be used to attach to an already running java session. In the latter case, java must have been started with the -debug
option. This option generates a password you then supply on the jdb command line.
-host
hostAttach to the running Java interpreter on host.
-password
passwordUse password to connect to the already running Java interpreter. This password is supplied by java -debug
.