Sun Studio 12 Update 1: Debugging a Program With dbx


For both native mode and Java mode, options are the following options:


Suppress all messages; return with exit code of program being debugged. 

-c commands

Execute commands before prompting for input.


Preload the Runtime Checking library (see check Command).


Used with -s, removes file after reading.


Echo input commands. 


Force loading of core file, even if it doesn’t match. 


Print the usage help on dbx.

-I dir

Add dir to pathmap set (see pathmap Command).


Save and restore keyboard translation state. 


Suppress messages about reading stabs. 


Run program; if program exits normally, exit. 


Print the readme file on dbx.

-s file

Use file instead of /current_directory/.dbxrc or $HOME/.dbxrc as the startup file


Suppress reading of initialization file /installation_directory/lib/dbxrc.


Print the version of dbx.

-w n

Skip n frames on where command.

-x exec32

Run the 32-bit dbx binary instead of the 64-bit dbx binary that runs by default on systems running a 64-bit OS.


Marks the end of the option list; use this if the program name starts with a dash.