Sun Studio 12 Update 1: Debugging a Program With dbx

Commands Valid Only in Java Mode

The following dbx commands are valid only in Java mode or JNI mode.

Command  

Functionality  

java

Used when dbx is in JNI mode to indicate that the Java version of a specified command is to be executed

javaclasses

Prints the names of all Java classes known to dbx when you give the command

joff

Switches dbx from Java mode or JNI mode to native mode

jon

Switches dbx from native mode to Java mode

jpkgs

Prints the names of all Java packages known to dbx when you give the command

native

Used when dbx is in Java mode to indicate that the native version of a specified command is to be executed